delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/06/01:10:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 AT NanoTech DOT Wisc DOT EDU>
To: ted byers <ted DOT byers AT sympatico DOT ca>
cc: cygwin AT cygwin DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019