m68k-unknown-coff

Goran Chutura ngcutura@yahoo.com
Thu Oct 11 08:22:00 GMT 2001


Thank you very much for your response. If I understood
you well, the proper order of porting would be:

1. Building GCC tools for Motorola using uclibc
2. Building kernel using uclibc

I should use uclibc INSTEAD of newlib and glibc,
right?

"Mysterious processor" is not available at the market
yet (not that I know), it is a startup project. I am
not aware of a board with this processor. I suppose I
should be able to generate "bare bones" kernel for the
processor+memory and to run it on available simulator.
Then I would try to add components and create a board.
Right now, I am interested only in having uClinux
kernel working properly on bare processor with some
memory.

Therefore, I would do this:

1. Generate GCC tools with uclibc for M68k
2. Generate uClinux kernel for bare M68k
3. After previous success, generate kernel for
"mysterious processor" using M68k makefiles BUT with
specific tools and with changes in assembly code.
4. (Far future from now: generate GCC for this
processor having machine description files.)

Please review this procedure. My main point is in
library: shall I use uclibc if I want to build uClinux
kernel?

Thanks and regards,
NGC

--- Larry Gray <larry@greenmotor.com> wrote:
> > Now, having this in mind, let me reformulate my
> > questions:
> >
> > 1. Can you approve/improve this procedure? Any
> comment
> > would be very helpfull.
> >
> I used a similar procedure just to get my gcc +
> newlib combination for the 
> ucsimm. The first cpu I got to work was the MC68332
> with CPU32BUG, then used 
> this as the basis for the MC68EZ328. So far you've
> only mentioned you're 
> mysterious CPU, and no board. Keep in mind newlib is
> pretty much board level 
> specific. So you'll have three types of porting,
> porting gcc for your CPU, 
> porting newlib or uclibc for your hardware, and
> porting linux with your gcc + 
> library combination. For porting gcc see "Using and
> Porting GCC", for newlib 
> see porting.texi included with the newlib source
> code (I think).
> 
> 
> > 2. What build/host platform (OS+tools) do you
> suggest
> > for Motorola? Linux sems to me as a natural
> choice.
> >
> Use Linux if available.
> 
> > 3. What order of building tools can you suggest?
> >
> Check out www.billgatliff.com, look in "Publications
> and Presentations", find 
> "Getting Started With GNU".
> 
> Hope This helps,
> Larry Gray
> larry@greenmotor.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
> 


__________________________________________________
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



More information about the crossgcc mailing list