This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling a cross compiler for VXWorks - "cannot compute suffix of object files"
- From: Thomas Clark <thechewanater at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 1 Feb 2011 23:03:34 -0500
- Subject: Compiling a cross compiler for VXWorks - "cannot compute suffix of object files"
I'm trying to compile GCC (right from the svn trunk) on an i686-pc-linux-gnu
host, targeting powerpc-wrs-vxworks.? I'm using gcc 4.6.0 to compile it.? I
configured it like so:
? ~/gcc/trunk/configure --target=powerpc-wrs-vxworks --host=i686-linux-gnu \
??? --enable-languages=c++
The error was:
? checking for suffix of object files... configure: error: in
? `~/gcc/trunk/powerpc-wrs-
vxworks/libgcc': configure: error: cannot compute
? suffix of object files: cannot compiled
? See `config.log' for more details.
This particular snippet of config.log seemed like the problem.? If necessary, I
will upload the full file.
? /usr/bin/uname -p = unknown
? /bin/uname -X???? = unknown
? /bin/arch????????????? = unknown
? /usr/bin/arch -k?????? = unknown
? /usr/convex/getsysinfo = unknown
? /usr/bin/hostinfo????? = unknown
? /bin/machine?????????? = unknown
? /usr/bin/oslevel?????? = unknown
? /bin/universe????????? = unknown
Does anyone know what I can do to fix this and get GCC to build?
Sorry if this has been brought up before - I did my best to search, but I'm
having a hard time finding out what the problem is.