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

Re: Bug: Undefined reference to MAIN__


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)


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