From crossgcc-return-4350-listarch-crossgcc=sourceware dot cygnus dot com at sources dot redhat dot com Fri Nov 16 13:57:41 2001 Return-Path: Delivered-To: listarch-crossgcc at sourceware dot cygnus dot com Received: (qmail 2706 invoked by alias); 16 Nov 2001 13:57:41 -0000 Mailing-List: contact crossgcc-help at sourceware dot cygnus dot com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner at sources dot redhat dot com Delivered-To: mailing list crossgcc at sources dot redhat dot com Received: (qmail 2678 invoked from network); 16 Nov 2001 13:57:38 -0000 Received: from unknown (HELO web20507.mail.yahoo.com) (216.136.226.142) by sourceware dot cygnus dot com with SMTP; 16 Nov 2001 13:57:38 -0000 Message-ID: <20011116135738.61563.qmail@web20507.mail.yahoo.com> Received: from [195.66.163.252] by web20507.mail.yahoo.com via HTTP; Fri, 16 Nov 2001 05:57:38 PST Date: Fri, 16 Nov 2001 05:57:38 -0800 (PST) From: Goran Chutura Subject: Re: m68k-unknown-coff To: Larry Gray Cc: crossgcc at sourceware dot cygnus dot com In-Reply-To: <01111607555800 dot 01228 at larry> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Larry, Hi Stefen, I am very glad that you mentioned uClinux. My intention is to port uClinux to another processor platform, still unsupported and I need Motorola as my comparison platform. I intend to use Motorola kernel code since I find it most similar to my target processor. Therefore, I need to build the kernel for Motorola to ensure that I am familiar with my comparison (or call it "source") platform before I proceed with my target platform. All in all, I am not interested in specific Motorola platform, only in processor instructions. So, this is my situation: I need Motorola M68k (68328) simulator (I have something I downloaded from Motorola, not very impresive) for Linux or Windows/DOS. I intend to use cross compiler to compile and build uClinux kernel for Motorola. After successfull build and run/simulation, I intend to repeat the procedure for my target processor with its specific tolls (compiler, assembler, linker, simulator). I don't expect to be successfull in the first shot (that would be a symptom of a serious error!! ;-) ) but I intend to follow that procedure until the success. Now, having this in mind, let me reformulate my questions: 1. Can you approve/improve this procedure? Any comment would be very helpfull. 2. What build/host platform (OS+tools) do you suggest for Motorola? Linux sems to me as a natural choice. 3. What order of building tools can you suggest? Thanks and regards, NGC --- Larry Gray wrote: > > > > > Actually, I need m68k-coff-gcc to recompile a > linux > > > kernel for M68328. I don't have the processor > yet but > > > I do have some simulator. My questions: > > > > > > 1. Should I build GCC tools with newlib or > glibc? > > Hello, > Are you going to use the ucsimm (MC68EZ328) module? > I'm using gcc with newlib > on a ucsimm. If it would help, I'll email you the > instructions. > > > > > For the kernel you only need a bare bones compiler > no libc at all, > > though I trust it doesn't hurt. Though for the > application running on > > the Machine using that kernel, it maybe is > necessary to use glibc (not > > sure here). Have a look at some embedded processor > running a small scale > > linux, what they're using, it also depends on the > memory available. I > > doubt that newlib is able to provide the interface > to the kernel. But as > > I've indicated I'm walking on thin ice here. > > > > Are you aware of the uClinux project? They have > ported Linux to the ucsimm > and ucdimm (MC68VZ328), as well as many others. It > uses uclibc instead of > newlib. We didn't need the added complexity of Linux > and found uclibc to be > incomplete. > > Hope This Helps, > Larry Gray > larry@greenmotor.com __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com