This is the mail archive of the gcc-help@gcc.gnu.org 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]

configure doesn't want to use the GNU linker


Hi all,

I decided to test the current trunk on mips-sgi-irix6.5, on which I
have already installed the binutils-2.18. The directory contaning GNU
assembler and linker is before that of the SGI ones in my PATH, but
nonetheless, a simple "configure" chooses to use GNU as but the system
ld. I tried to force its hand (in a clean directory) with
--with-ld=/usr/people/francois/local/bin/ld --with-gnu-ld
--with-as=/usr/people/francois/local/bin/as --with-gnu-as, but even
there, it does pick up the system ld:

> $ ../trunk/configure --prefix=/usr/people/francois/devel/irun --with-gmp=/usr/people/francois/local --enable-mapped-location --with-ld=/usr/people/francois/local/bin/ld --with-gnu-ld --with-as=/usr/people/francois/local/bin/as --with-gnu-as --enable-languages=c,c++,fortran,objc,obj-c++
> checking build system type... mips-sgi-irix6.5
> checking host system type... mips-sgi-irix6.5
> checking target system type... mips-sgi-irix6.5
> [...]
> checking whether we are using the GNU C compiler... yes
> [...]
> *** This configuration is not supported in the following subdirectories:
>     target-libmudflap target-libffi target-zlib target-libjava target-libada gnattools zlib target-boehm-gc
>    (Any other directories should still work fine.)
> [...]
> checking for ar... ar
> checking for as... as
> checking for dlltool... no
> checking for ld... (cached) /usr/bin/ld

I don't see how it can be cached, since my build directory is
perfectly clean when I start! config.log doesn't have much information
either:

configure:6439: checking for ar
configure:6455: found /usr/people/francois/local/bin/ar
configure:6465: result: ar
configure:6574: checking for as
configure:6590: found /usr/people/francois/local/bin/as
configure:6600: result: as
configure:6709: checking for dlltool
configure:6738: result: no
configure:6767: checking for ld
configure:6793: result: /usr/bin/ld

then a bit later:

configure:9015: checking for as
configure:9048: result: no
configure:9160: checking for as
configure:9176: found /usr/people/francois/local/bin/as
configure:9186: result: as
configure:9238: checking for dlltool
configure:9271: result: no
configure:9383: checking for dlltool
configure:9412: result: no
configure:9461: checking for ld
configure:9494: result: no
configure:9606: checking for ld
configure:9622: found /usr/people/francois/local/bin/ld
configure:9632: result: ld

In summary, I'm confused. The release notes at
http://gcc.gnu.org/install/specific.html say nothing of that issue, so
I assume I have made a mistake, but which?

Thanks,
FX


-- 
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/


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