This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Bug: BSS segment in COFF files
- From: Wolfgang Hesseler <qv at multimediaware dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Jul 2002 11:35:30 +0200
- Subject: Bug: BSS segment in COFF files
Hello,
I'm trying to link some code compiled with the Cygwin gcc compiler with
the Watcom linker. This works as the Watcom linker supports the COFF
object code format. However, there seems to be a problem with
uninitialized variables. After analyzing an object file it seems as if
the BSS segment always has size 0 so that the Cygwin generated object
files are not valid COFF files. Is this a known problem?
I ended up in making all uninitialized data to 0-inialized variables.
Is there any better way?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/