Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Fri, 6 Jul 2001 00:09:43 -0500 (CDT)
From: Mumit Khan <khan@NanoTech.Wisc.EDU>
To: ted byers <ted.byers@sympatico.ca>
cc: cygwin@cygwin.com
Subject: Re: My attempt to build gcc-3.0 failed  :-(
In-Reply-To: <002d01c105c6$3fe832d0$376de740@beak.com>
Message-ID: <Pine.HPP.3.96.1010706000543.27159B-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 5 Jul 2001, ted byers wrote:

> $ sh
> ../Source/gcc-3.0/configure --prefix=d/Gcc --with-local-prefix=d/Gcc --enabl
                                       ^^^^                      ^^^^
				       what is this???          likewise?
> e-threads=win32 --
            ^^^^ wrong
> disable-win32-registry

Try this:

$ ../Source/gcc-3.0/configure --prefix=/usr/local/gcc-3.0 \
  --enable-threads --disable-win32-registry --enable-sjlj-exceptions

Change prefix as needed, but please use *legal* absolute posix path, not 
something like d/Gcc.

Search for other postings on gcc-3.0 + cygwin. Note that you must have
recent cygwin DLL to be able to use --enable-threads.

> And here is the command I used to start the build:
> $ make CFLAGS='-O' LIBCFLAGS='-g -O2'
> LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean

When you're first starting out, it's best to leave out these CFLAGS and
LIBCXXFLAGS etc, and just do a bootstrap or bootstrap-lean. You shouldn't
specify -fno-implicit-templates in LIBCXXFLAGS unless you know what you're
doing -- it's the job of the libstdc++-v3 configure to decide these for
you.

$ make bootstrap-lean > make.log 2>&1

Regards,
Mumit



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

