This is the mail archive of the gcc-help@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]

gcc-3.4.0





I had a problem to build a cross_compiler for m68k (actually for coldfire).
The error was that could not find some header files, such as stdio.h,
string.h, sys/types.h, while compiler was parsing tsystem.h in gcc
directory.

My current environment has gcc-3.1.1 package.

After download and unzip I did

1. mkdir objdir
2. cd objdir
3. ../gcc-3.4.0/configure \
        --host=sparc-sun-solaris2* \
        --target=m68k-*-elf \
        --prefix=/home/tools/coldfire \
        --program-suffix=-m68k \
        --with-local-prefix=/home/tools/coldfire \
        --with-gnu-as \
        --with-gnu-ld \
        --enable-target-optspace \
        --enable-languages=c,c++ \
        --with-headers=/home/tools/coldfire/sys \
        --with-libs=/home/tools/coldfire/sys \
        --with-newlib
4. make all install

Is there something wrong?


Thanks,

Xing Hai
NMS
200 Schulz Drive
Red Bank, NJ 07701
(732) 936-2155



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