Re: Dual Language Question

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

 



That did it. Thanks for your help!

-Lance


On Wednesday, October 29, 2003, at 10:50 AM, John Levon wrote:


On Wed, Oct 29, 2003 at 10:32:39AM -0500, Lance Westerhoff wrote:

Is it possible to define the linker separately from the compiler so
that I can use either the f90 compiler or the c++ compiler depending
upon the requirements of the project?

Use _LINK e.g.


if whatever
LINKER=$(CXX)
else
LINKER=$(WHATEVER)
endif

yourprogram_LINK = $(LINKER) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@






[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux