public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug: BSS segment in COFF files
@ 2002-07-12  6:05 Wolfgang Hesseler
  2002-07-12  6:49 ` egor duda
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Hesseler @ 2002-07-12  6:05 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-07-12 16:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12  6:05 Bug: BSS segment in COFF files Wolfgang Hesseler
2002-07-12  6:49 ` egor duda
2002-07-12  6:56   ` Wolfgang Hesseler
2002-07-12  6:59     ` egor duda
2002-07-12  7:05       ` Wolfgang Hesseler
2002-07-12  7:52         ` egor duda
2002-07-12  8:21           ` Wolfgang Hesseler
2002-07-12  8:30             ` egor duda
2002-07-12  8:39               ` Wolfgang Hesseler
2002-07-12  8:43                 ` egor duda
2002-07-12 11:17                   ` Wolfgang Hesseler
2002-07-12  8:22           ` egor duda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).