This is the mail archive of the 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 <>

	* Install libgfortranbegin inside compiler libraries
	directory instead of system libraries directory.
	* Regenerate.

Index: libgfortran/
--- libgfortran/ (revision 117225)
+++ libgfortran/ (working copy)
@@ -6,11 +6,11 @@
## May be used by toolexeclibdir.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
-toolexeclib_LTLIBRARIES =
+toolexeclib_LTLIBRARIES =
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 =
+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]