[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about ld and shared libraries...
From: |
Ralf Wildenhues |
Subject: |
Re: question about ld and shared libraries... |
Date: |
Sun, 9 Apr 2006 07:19:58 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Ed,
* Ed Hartnett wrote on Sat, Apr 08, 2006 at 08:30:58PM CEST:
>
> When trying to compile a fortran program in my configure script, I get
> the following output in config.log:
>
> configure:5956: gfortran -o conftest -L/usr/local/lib conftestf.o conftest.o
>
> /usr/bin/ld: skipping incompatible /usr/local/lib/libgfortranbegin.a when
> searching for -lgfortranbegin
*snip*
> What makes ld skip these libraries?
Is this on x86_64 or a similar multi-ABI system? And those library are
of the wrong type?
> The libaries are all recently created when I built gcc 4.1.0 on my
> machine, including gfortran.
Maybe with -m32?
Cheers,
Ralf