From c6ac11cd4eeba4466a70ee3767781c8abdf9669d Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 30 May 2002 20:46:06 +0000 Subject: separate main.c into a separate libfrtbegin.a. Handle that in g77spec. Taken from gcc 3.1 (apart from the Makefile.bsd-wrapper changes). This allows one to link fortran code with other languages on ELF platforms: putting main.c in libg2c.so would make libg2c insist it got a MAIN__ symbol. Okay fgs@, pval@. --- gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper (limited to 'gnu/egcs/libf2c/libF77') diff --git a/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper b/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper new file mode 100644 index 00000000000..daae8d76b62 --- /dev/null +++ b/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2002/05/30 20:46:05 espie Exp $ + +# This needs to be separate from libg2c to allow for mixed +# Fortran/other language programs. +LIB=frtbegin +SRCS=main.c + +.include -- cgit v1.2.3