This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Eric Smith wrote: > I'm trying to build 2.95 as a linux -> m68k-elf cross-compiler with newlib. > I configured it like: > > ../gcc-2.95/configure --target=m68k-elf --prefix=/usr/local --with-gnu-as \ > --with-gnu-ld --enable-languages=c++ --with-newlib I would add "--program-prefix=m68k-elf-" to your configure arguments, but I don't think it is mandatory. > I tried copying the newlib includes into /usr/local/m68k-elf/include, but > that didn't help. Are they supposed to be somewhere else? Yep, that looks OK. I'm pretty sure that it looks in $prefix/$target/include for header files and $prefix/$target/lib for library files. When I use newlib, I use the --with-headers option instead of copying them. The "make" or "make all" step will install them to the right place. Try "--with-headers=<newlib-path>/newlib/libc/include" in your configure arguments. Brendan Simon. PS. I haven't tried gcc-2.95 yet and I have only built cross-compilers for powerpc-linux and powerpc-eabi targets. _______________________________________________ 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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |