This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Install libgfortranbegin.a as compiler library instead of system library


myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$ (MULTISUBDIR)

I tested with multilib on a sparc-solaris2.9 and it indeed works as intended. Thanks Jakub!


I'll commit the following modified patch:

2006-09-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>

	* Makefile.am: Install libgfortranbegin inside compiler libraries
	directory instead of system libraries directory.
	* Makefile.in: Regenerate.


Index: libgfortran/Makefile.am
===================================================================
--- libgfortran/Makefile.am (revision 117225)
+++ libgfortran/Makefile.am (working copy)
@@ -6,11 +6,11 @@
## May be used by toolexeclibdir.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
-toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
-
+toolexeclib_LTLIBRARIES = libgfortran.la
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/ libtool-version` -lm $(extra_ldflags_libgfortran)
-## This should really go in the compiler lib dir, not the system lib dir.
+myexeclib_LTLIBRARIES = libgfortranbegin.la
+myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$ (MULTISUBDIR)
libgfortranbegin_la_SOURCES = fmain.c
libgfortranbegin_la_LDFLAGS = -static





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]