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]

Re: My attempt to build gcc-3.0 failed :-(


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/


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