public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc 3.01 Build ??
@ 2001-09-23  5:15 Richard Chan
  2001-09-23  7:39 ` Tim Prince
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Chan @ 2001-09-23  5:15 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi

I understand that the latest release of cgywin binaries equips with gcc
2.95.3.  If I want to try the gcc 3.0.1 and do my own compliation, do u
have any tips and guidelines to me ??  Thanks !

Rgds,
Richard
 

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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] 2+ messages in thread

* Re: gcc 3.01 Build ??
  2001-09-23  5:15 gcc 3.01 Build ?? Richard Chan
@ 2001-09-23  7:39 ` Tim Prince
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Prince @ 2001-09-23  7:39 UTC (permalink / raw)
  To: Richard Chan, cygwin

I thought it was up to 3.0.2.

You should be able to find useful information in the standard gcc
build information plus the archives of this list.  Minimum
configure parameters (useful for most of us)
are --with-included-gettext --enable-sjlj-exceptions .  Before
running configure, you should set the CFLAGS, CXXFLAGS to
combinations you consider suitable.  BOOT_CFLAGS is the most
important one during a bootstrap build.  CFLAGS must include -g,
if you wish to have -g available in all supported
anguages.  -march=pentiumpro -Os -pipe ought to be improvements
over the default build options.

I believe java will not build out of the box.

You might wish to build binutils with an increase in the ALIGN..
parameter in bfd/coff-i386.c, in order to get reasonable
performance with 64-bit data.  Configure parameters same as
above.  This is likely to break the standard cygwin g++ library,
which is not used by 3.0.x.  No need to rebuild binutils if you
don't care about performance.

If you install binutils in /usr/local (the default), your new gcc
build will default to the original; you would need to
configure --with-as=/usr/local/bin/as in order to use the new
one.  You can also do an integrated binutils/gcc build.  When you
install your new gcc to /usr/local, your new copy becomes the
default (contrary to normal gcc behavior).

If you wish to run the gcc testsuite, I believe that cygwin has
not yet accepted all needed patches to the .exp files.  I really
meant to make a diff between the working files and the ones which
come with cygwin, so I can quickly patch a new installation.
Maybe tomorrow.

----- Original Message -----
From: "Richard Chan" <chanricz@yahoo.com>
To: <cygwin@cygwin.com>
Sent: Sunday, September 23, 2001 5:19 AM
Subject: gcc 3.01 Build ??


> Hi
>
> I understand that the latest release of cgywin binaries equips
with gcc
> 2.95.3.  If I want to try the gcc 3.0.1 and do my own
compliation, do u
> have any tips and guidelines to me ??  Thanks !
>
> Rgds,
> Richard



--
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] 2+ messages in thread

end of thread, other threads:[~2001-09-23  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-23  5:15 gcc 3.01 Build ?? Richard Chan
2001-09-23  7:39 ` Tim Prince

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