LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-07-14 19:49:05


On Mon, 14 Jul 2003, jeremy archuleta wrote:

> http://www.lam-mpi.org/faq/category2.php3#question16
>
> Forgot to add
> LDFLAGS="-xarch=v9"
> and
> FFLAGS="-xarch=v9"
>
> if you set LDFLAGS and don't set the C,CXX,F FLAGS the configure
> fails...discovered this "on purpose"

Doh! I updated the shell examples, but not the corresponding text (I see
the shell command to set FFLAGS is already there).

You should not need to set LDFLAGS; Automake will pass [C|CXX|F]FLAGS to
the appropriate compiler and linker commands. LDFLAGS should only be set
for linker-specific issues.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/