>>> "sg" == Stéphane Genaud <[EMAIL PROTECTED]> 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