This is the mail archive of the crossgcc@sourceware.org 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] |
I had the same problem. Looking at the config.log, the compiler was having a problem linking to the libmfpr.so.1 shared library (I had built them locally, but didn't add the lib directory to LD_LIBRARY_PATH/LD_RUN_PATH. Adding the lib directory fixed this error. Mike Franzi Edo.-2 wrote: > > Hi, > I am trying to build a toolchain for creating a cross C compiler for > m68k targets running on OSX (10.5.2). With the previous release of > gcc-4.2.3 everything is fine. So, can someone give me some help for > solving my problem? > So, the make of the gcc creation step stops after a while ... > Here is my toolchain and the error: > > 1st: I installed the gmp-4.2.2 and the mpfr-2.3.1 packages > > BINUTILS_VER=2.18 > GCC_VER=4.3.0 > NEWLIB_VER=1.16.0 > GDB_VER=6.7.1 > TARGET_DIR=/Users/Shared > TARGET=m68k-elf > > echo " - Create an alias of the library" > cd $TARGET_DIR/GCC/gcc-$GCC_VER > ln -s ../newlib-$NEWLIB_VER/newlib . > ln -s ../newlib-$NEWLIB_VER/libgloss . > > export target=$TARGET > export prefix=$TARGET_DIR/cross/$TARGET > export i=$prefix/bin > > echo " Build the tools" > mkdir -p $TARGET_DIR/builds/$TARGET/binutils-$BINUTILS_VER > cd $TARGET_DIR/builds/$TARGET/binutils-$BINUTILS_VER > ../../../GCC/binutils-$BINUTILS_VER/configure --target=$target -- > prefix=$prefix > make > make install > make clean > > echo " - Build the compiler" > cd $TARGET_DIR/builds/$TARGET > mkdir gcc-$GCC_VER > cd gcc-$GCC_VER > ../../../GCC/gcc-$GCC_VER/configure --target=$target --prefix=$prefix > --enable-languages=c --with-newlib --enable-newlib-io-long-long --with- > gnu-as --with-gnu-ld > make "CFLAGS = -DREENTRANT_SYSCALLS_PROVIDED" > .... > .... > here it fails with this error: > > checking for m68k-elf-gcc... /Users/Shared/builds/m68k-elf/gcc-4.3.0/./ > gcc/xgcc -B/Users/Shared/builds/m68k-elf/gcc-4.3.0/./gcc/ -nostdinc -B/ > Users/Shared/builds/m68k-elf/gcc-4.3.0/m68k-elf/m51qe/newlib/ - > isystem /Users/Shared/builds/m68k-elf/gcc-4.3.0/m68k-elf/m51qe/newlib/ > targ-include -isystem /Users/Shared/GCC/gcc-4.3.0/newlib/libc/include - > B/Users/Shared/builds/m68k-elf/gcc-4.3.0/m68k-elf/m51qe/libgloss/m68k - > L/Users/Shared/builds/m68k-elf/gcc-4.3.0/m68k-elf/m51qe/libgloss/ > libnosys -L/Users/Shared/GCC/gcc-4.3.0/libgloss/m68k -B/Users/Shared/ > cross/m68k-elf/m68k-elf/bin/ -B/Users/Shared/cross/m68k-elf/m68k-elf/ > lib/ -isystem /Users/Shared/cross/m68k-elf/m68k-elf/include -isystem / > Users/Shared/cross/m68k-elf/m68k-elf/sys-include -mcpu=51qe > checking for suffix of object files... configure: error: cannot > compute suffix of object files: cannot compile > See `config.log' for more details. > make[1]: *** [configure-target-libgcc] Error 1 > make: *** [all] Error 2 > > Thank' you for your advises and help > Regards, Edo. > > > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > > > -- View this message in context: http://www.nabble.com/gcc-4.3.0-and-cross-compilation-for-m68k-targets-tp16163544p16623815.html Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com. -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |