Dual Language Question

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

 



Hello All-

I have a Fortran90 project that sometimes, depending upon configure options, includes some C++ code. Therefore, in configure.in, I use AM_CONDITIONAL to conditionally compile the C++ code in the Makefile.am. However, the problem is now the C++ compiler is used to execute the linker whether or not there is actually any C++ compiled. 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?

Thanks!

-Lance
_______________________
Lance M. Westerhoff
Computational Biochemistry
Pennsylvania State University - Chemistry
	- Merz Research Group

Email:	lance@xxxxxxxxxxxx
AIM:		lance@xxxxxxx
Web:	http://merz.chem.psu.edu/~lance/




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

  Powered by Linux