This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't build m68k-elf target with gcc-3.3.2 or gcc-3.4-20031224tree


Peter Barada wrote:
You can't enable c++ on m68k-elf because it's an embedded target
and libstdc++ requires an underlying C library to work.

Either do --enable-languages='c' or add --with-newlib and build
newlib along with (or before) GCC.

I go the newlib route, and its a three step processes(after you've build binutils for your target and have installed them in ${LOCAL}/bin:

Another possibility would be creating a combined tree and building everything in a single step. This page explains how to do it:

http://gcc.gnu.org/simtest-howto.html

I find it very useful when you need to build a full blown toolchain
(everything from binutils to gdb).

Suggestion: wouldn't it be nice to extract the combined tree docs
from simtest-howto.html and move them to a specific page?  I guess
most people would ignore that useful piece of documentation thinking
that it's only useful for running the testsuite.

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]