Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: ted byers 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: 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/