Re: specify a linker

2001-12-14 Thread Alexandre Duret-Lutz
>>> "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_L

specify a linker

2001-12-13 Thread Stéphane Genaud
Hi, i am packaging an application whose source files are compiled with g++ . In the link phase, the linker should be mpiCC . How can i specify that in an elegant way in a Makefile.am ? Currently, i add the line : CXX = mpiCC after the link fails with c++, and re-run make. Is there a way to sp