This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug: Undefined reference to MAIN__
- To: martin dot kahlert at infineon dot com, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Subject: Re: Bug: Undefined reference to MAIN__
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 03 Oct 2001 08:14:07 +0200
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20011001104419.A31910@keksy.muc.infineon.com> <3BBA3BE3.C465F034@moene.indiv.nluug.nl>
I wrote:
> > $ gcc -c t.c
> > $ g77 -o t t.o f.f
> > /sw/gcc-3.1/lib/gcc-lib/i686-pc-linux-gnu/3.1/frtbegin.o: In function `main':
> > /home/kahlert/LOCAL/OBJ-3.1/i686-pc-linux-gnu/libf2c/libF77/../../../../gcc-3.1/libf2c/libF77/main.c:61:
> > undefined reference to `MAIN__'
> > collect2: ld returned 1 exit status
>
> I think I solved this problem with the attached patch. If there's no
> objection by tomorrow morning 8:00 C(entral) E(uropean) S(avings)
> T(ime), which is, for those slow in time-related manners, UTC+2, I'll
> apply it to the trunk.
I just checked this change in.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)