[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] Library Containing atexit
From: NightStrike <nightstrike () gmail ! com>
Date: 2012-06-04 1:10:59
Message-ID: CAF1jjLvsfWTcvCgPGk9dV8i6NzrK5f9Jc5h-z2npYmLYxFe3-g () mail ! gmail ! com
[Download RAW message or body]
On Sun, Jun 3, 2012 at 3:34 AM, Mcgroder, James <james.mcgroder@hp.com> wrote:
> + gfortran -c -o /usr/local/obj/dates.o dates.f
> + gfortran -o /usr/local/bin/dates.exe /usr/local/obj/dates.o -L /usr/local/lib -l \
> crew
> $ ld -o /usr/local/bin/dates.exe /usr/local/obj/dates.o -L /usr/local/lib -lcrew
> -L /mingw/lib/gcc/mingw32/4.6.1 -lgcc -lgfortran
> C:/MinGW/lib/gcc/mingw32/4.6.1/libgcc.a(__main.o):(.text+0x52): undefined reference \
> to `atexit' C:/MinGW/lib/gcc/mingw32/4.6.1/libgcc.a(__main.o):(.text+0xb6): \
> undefined reference to `atexit'
If you run your second gfortran command with the -v option, you'll see
how gfortran was able to successfully invoke ld. It'll probably have
a ton more options than you have.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may \
cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic