LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-11-10 03:25:59


* Martin Siegert wrote on Thu, Nov 10, 2005 at 01:47:30AM CET:
>
> the problem is usually that a libtool ignores the -m64 flag; in my
> experience even if LDFLAGS include that flag.

We've fixed that now in libtool.

> You can check that by
> finding the corresponding libtool line that leads to the make error:
>
> libtool --mode=link gcc -m64 -o ...
>
> usually leads to something like
>
> gcc -shared -o ...
>
> i.e., the gcc command following the libtool line is missing the -m64
> flag. The only way that I found to work around this is to edit libtool
> directly after you ran configure.

No, you can use "-Wl," to pass options through libtool to the linker if
the linker is $LD, or "-Wc," to pass them through libtool if the linker
is $CC. This is unfortunately a bit inconsistent, but should work.

In any case, this will be fixed in 1.5.22.

Cheers,
Ralf