should be something like: checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for ANSI C header files... yes checking for uintptr_t... yes checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
Check if exists $CC. If yes, unset CC. mkae sure you've got gcc-core-3.2 also try to remove '--enable-languages=c,c++ ' ~d On Tuesday 17 December 2002 16:25, Mark Williams (MWP) wrote: > Hi gang... > > Im new to the list, i just recieved my first couple of MSP430s so im trying > to get this working. > > Binutils was patched and installed ok. > > But during compiling of GCC-3.2 (using the GCC3.3 patch) i get: > > checking for fcntl.h... yes > checking for alloca.h... yes > checking for sys/wait.h that is POSIX.1 compatible... no > checking whether time.h and sys/time.h may both be included... no > checking whether errno must be declared... yes > checking for ANSI C header files... no > checking for uintptr_t... no > checking whether the C compiler > (/home/share/backup/linux/gcc-stuff/gcc-3.2/gcc/xgcc > -B/home/share/backup/linux/gcc-stuff/gcc-3.2/gcc/ > -B/usr/local/msp430/msp430/bin/ -B/usr/local/msp430/msp430/lib/ -isystem > /usr/local/msp430/msp430/include -g -O2 ) works... no configure: error: > installation or configuration problem: C compiler cannot create > executables. make: *** [configure-target-libiberty] Error 1 > > [r...@linux gcc-3.2]# /home/share/backup/linux/gcc-stuff/gcc-3.2/gcc/xgcc > --version xgcc (GCC) 3.2 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > [r...@linux gcc-3.2]# /home/share/backup/linux/gcc-stuff/gcc-3.2/gcc/xgcc > -v Using built-in specs. > Configured with: ./configure --target=msp430 --prefix=/usr/local/msp430 > --enable-languages=c,c++ Thread model: single > gcc version 3.2 > [r...@linux gcc-3.2]# > > I added the version info from xgcc just in case it will help. > > Any ideas on how i fix this? > > Thanks, > Mark Williams (MWP). > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/