This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Available for test: gcc-3.1.1-2 gcc2-2.95.3-8


On Fri, Jul 12, 2002 at 12:33:31AM -0400, Charles Wilson wrote:
>'Course, for my cygwin-host, mingw-target cross compiler, I'll need to 
>respin 
>it so that it coexists with the official gcc and gcc2 and gcc-mingw 
>packages...sigh.

Do you need this anymore, though?  You could get by with this, couldn't
you:

i686-pc-mingw32-gcc is:
#!/bin/sh
gcc -mno-cygwin $(@+"$@"}

Or, should I not be coopting the i686-pc-mingw32 target directory?
Maybe it really should be something like i686-pc-mingw32-cygwin.  Bleah.

>Say, where do you change gcc(2.95.3) so that g++-2 links against 
>libstdc++-2.a instead of libstdc++.a?  (Ditto g77).  It doesn't seem to 
>be in the specs file, so I dunno WHERE that is done...

It is in the last two lines of the specs file:

#define LIBSTDCXX "-lstdc++-2"
#define FORTRAN_LIBRARY "-lg2c-2"

The files themselves get munged by mknetrel's extra/gcc2 script.

Btw, I moved that libstdc++.a.whatever file out of /usr/lib for the next
release.  Although, actually, if I had just moved it into the
/usr/i686-pc-cygwin/lib directory, I might not have had to add the -2
part.  Argh.  Not going to change it now...

cgf
(Who's off for the 4000th rebuild of these packages...)

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]