GCC error cannot compute suffix of object files
Hi there!
I have puppy linux and I'm trying to install gcc following the instructions on http://www.nongnu.org/avr-libc/user-...nstall_avr_gcc But I have an error, the config.log file has many errors like the following: configure:3938: result: no configure:3944: checking whether g++ accepts -g configure:3965: g++ -c -g conftest.cc >&5 g++: error trying to exec '/usr/libexec/gcc/i486-slackware-linux/4.1.2/cc1plus': execv: Exec format error configure:3971: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | int | main () | { | | ; | return 0; | } configure:3995: result: no Any help would be very appreciated. Thanks Joc |
Welcome to Linux Questions.
Puppy is probably not the best fit for a developing system. I can suggest "Vector Linux" based on Slackware and also being a lightweight distro. I can see you are already using a Slackware package ( .. /gcc/i486-slackware-linux/ ) ? Or is it part of puppy ? The link shown http://www.nongnu.org/avr-libc/user-...nstall_avr_gcc is about building cross tools for "Atmel AVR microcontrollers" http://www.nongnu.org/avr-libc/ Is that what you are attempting to do ?? Regards |
All times are GMT -5. The time now is 04:39 PM. |