This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
crt0, crt1, _stderr, etc.
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>
- Subject: crt0, crt1, _stderr, etc.
- From: "Bates, Rod" <Rod dot Bates at wichita dot boeing dot com>
- Date: Wed, 19 Aug 1998 12:39:50 -0500
Can anyone tell me more about what crt1 and crt0 are?
Apparently, there was a crt1.o included in earlier
cygwin releases, perhaps 18. It defines, among
other things, _stderr, _stdin, and -stdout.
B19 seems to have replaced it with crt0.o, which eliminates
these. crt0.o looks like a replacement for crt1.o,
because they both define _mainCRTStartup.
The respective versions of gcc include these respective
files in the ld command they issue, without being asked
by the issuer of the gcc command.
In B19, I looked systematically through all *.o and lib*.a
files and found no _stderr defined anywhere.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".