building gcc-2.95 for linux -> m68k-elf

Eric Smith eric@brouhaha.com
Wed Aug 11 12:56:00 GMT 1999


"Charles Gauthier" <Charles.Gauthier@iit.nrc.ca> answered my question
about building gcc-2.95 for linux->m68k-elf:
> Try this:
> 
> cd gcc-2.95
> ln -s ../newlib-1.8.1/newlib newlib

> Then add the --with-newlib flag when you configure. The build process will
> detect the existence of newlib, and copy the required header files into the
> build directory, and then use them. There is no need to pre-install the
> files. They will get installed when you install gcc (newlib gets installed
> with it).

That did it; it builds fine now.  I was already using --with-newlib, but
I didn't know that I needed to create that link.

Thanks!
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list