Re: Dual Language Question

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

 



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