This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CROSS GCC]: xgcc not using multi-os-directory for

This configure was done in a separate build directory.

During the creation of 64-bit I can see the command line using

xgcc -B /opt/sparctools/sparc64-unknown-linux-gcc/lib etc

as a result it picks up the 32-bit versions of crt*.o. It does complain about these
object files but nevertheless continues to create a Faulty behaviour
is observed only after a 'make install' when the building of simple sparc64 binaries
fails with an undefined __gmon_start__.

Paul Brook wrote:

Problem description

Building an x86->Sparc32,64 cross using
--prefix=/opt/sparctools --target=sparc64-unknown-linux-gnu
--enable-threads=posix --enable-__cxa_atexit --disable-libunwind-exceptions
--disable-optimization --with-system-zlib

Obvious thing first: was this ./configure, or /somewhereelse/configure ?
If you did ./configure, you should use a separate build directory, as recommended in the installation guide:
Building in the source tree might work, but often triggers obscure failure modes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]