[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems mixing icc and g77 on x86 Linux
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Problems mixing icc and g77 on x86 Linux |
Date: |
Mon, 26 Jul 2004 10:22:41 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Tom" == Tom Epperly <address@hidden> writes:
[...]
Tom> runF772C_SOURCES = helloclient.f
Tom> runF772C_LDFLAGS = -static
Tom> runF772C_DEPENDENCIES = libClient.la ../libC/libImpl.la
Tom> runF772C_LDADD = libClient.la ../libC/libImpl.la $(LIBSIDL)
Tom> $(FLIBS)
Tom> This uses g77 for the link step because C + F77 uses the Fortran
Tom> linker (from the automake manual). Changing it to
Tom> runF772C_SOURCES = force_c.c helloclient.f
Tom> doesn't help because C + F77 always chooses the F77 linker.
If you want to force the use of the C linker, you can do
runF772C_LINK = $(LINK)
See also past discussions about this in the list archives.
http://sources.redhat.com/ml/automake/1999-10/msg00101.html
--
Alexandre Duret-Lutz