This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"William A. Gatliff" wrote: > > Michael: > > On Mon, Dec 02, 2002 at 05:42:10PM +0100, Michael Svetlik wrote: > > Hi, folks. > > > > It's a strange thing: xgcc can't find stdlib.h and unistd.h, when doing > > a make. > > It tries to build the libgcc (m68k-coff-ar rc tmplibgcc2.a ${name}.o;) > > gcc 2.95.3 has been configured with > > '--target=m68k-coff --program-prefix=m68k-coff- --enable-languages=c > > --host=i686-pc-linux-gnu', like the binutils were, before. > > Building another cross-compiler - h8300hms - from the same sources, works. > > BTW, xgcc wants to include files from /usr/local/m68k-coff/include, > > which does not exist. > > > > Any hints would be welcome ... > > Sounds like the h8300's libgcc doesn't need header files, but m68k's does. > > You need to build a bootstrap compiler first, then build header files > for the target, then build the full cross compiler. > > See: http://billgatliff.com/twiki/bin/view/Crossgcc/WebHome It should only be a matter of getting newlib and moving the libgloss and newlib subdirectories under the top level gcc directory. Then configure with --with-newlib. It should work fine then. > b.g. > -- > Bill Gatliff > I'm an embedded GNU developer first, GNU instructor second. > http://billgatliff.com > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com -- Joel Sherrill, Ph.D. Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |