automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: specify a linker


From: Alexandre Duret-Lutz
Subject: Re: specify a linker
Date: 14 Dec 2001 16:10:30 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

>>> "sg" == St├ęphane Genaud <address@hidden> writes:

 sg> i am packaging an application whose source files are compiled
 sg> with g++ . In the link phase, the linker should be mpiCC .

You can override the command used to link all C++ targets:

CXXLINK = mpiCC $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@

(Setting `CXXLD=mpiCC' would achieve the same result, but
`CXXLD' is not documented.)

It's also possible to select the linker command on a per-program
basis (grep the manual for `maude_LINK').
-- 
Alexandre Duret-Lutz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]