This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [CROSS GCC]: xgcc not using multi-os-directory for ligcc_s.so.1
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Richard Chan <rspchan at starhub dot net dot sg>
- Date: Sun, 4 Jul 2004 14:26:28 +0100
- Subject: Re: [CROSS GCC]: xgcc not using multi-os-directory for ligcc_s.so.1
- Organization: CodeSourcery
- References: <40E802D1.8040802@starhub.net.sg>
> Problem description
>
> Building an x86->Sparc32,64 cross using
> configure
> --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:
http://gcc.gnu.org/install/configure.html
Building in the source tree might work, but often triggers obscure failure
modes.
Paul