Compiling a cross compiler for VXWorks - "cannot compute suffix of object files"

Thomas Clark thechewanater@gmail.com
Wed Feb 2 04:03:00 GMT 2011


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.



More information about the Gcc-help mailing list