public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: !RE: [PATCH] gcc3/ld patch for direct-linking-to-dll andauto-importsupport
       [not found] <20030908085820.96366.qmail@web21410.mail.yahoo.com>
@ 2003-09-09 11:52 ` Ralf Habacker
  0 siblings, 0 replies; only message in thread
From: Ralf Habacker @ 2003-09-09 11:52 UTC (permalink / raw)
  To: kde-cygwin, cygwin; +Cc: binutils

> > > I've tried that with your testcase and it seems to work.
> > >
> > What gcc release you are using ?
>
> I tested with mingw builds of 3.3.1 and last weeks GCC-head (3.4). They put
> readonly data into .rdata$ sections if -fdata-sections but in .text otherwise.
> You're correct, though, it is is different in 3.2.x
>
> > It seems that gcc3.2 (which is the recent
> > cygwin release) does not support this. (See the ! below)
> > Are there any other gcc options to archive this ?
>
> Not that I know of. A -mrdata-in-rdata :) switch would be handy.
>
What should we do ?

1. wait until gcc 3.3 is in the cygwin net distribution and forgot this patch.

2. Apply this patch as it is.

3. Extend this patch with .rdata$ support like you have done and apply this all
to ensure propper working for current and further gcc3 release.

I would prefer solution 3. Any objectivies ?

Ralf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-09 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030908085820.96366.qmail@web21410.mail.yahoo.com>
2003-09-09 11:52 ` !RE: [PATCH] gcc3/ld patch for direct-linking-to-dll andauto-importsupport Ralf Habacker

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).