This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: and the next bug as compilation on Solaris 2.6
- To: Piotr Kasztelowicz <pekasz at lodz dot ptkardio dot pl>
- Subject: Re: and the next bug as compilation on Solaris 2.6
- From: Albert Chin-A-Young <china at thewrittenword dot com>
- Date: Fri, 22 Jun 2001 15:27:48 -0500
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- References: <Pine.GSO.4.31.0106222213070.2497-100000@sun>
- Reply-To: gcc at gcc dot gnu dot org
On Fri, Jun 22, 2001 at 10:15:01PM +0200, Piotr Kasztelowicz wrote:
> I will again ask HOWTO, Have anybody any idea?
>
> On Solaris 2.6 with binutils 2.11.2 and gcc 2.95.2
> using bash insted of tcsh I applied to compile
> gcc 3.0 to the next steps but new bug has been reported
FYI, we can build GCC 3.0 with binutils 2.11.2 bootstrapping with the
Sun C compiler. We build binutils *and* gcc at the same time. We build
as follows:
$ cd /opt/build/gcc-3.0 [unpacked gcc 3.0 distribution]
$ mkdir objdir
$ tar cf include.tar include
$ bzip2 -dc binutils-2.11.2.tar.bz2 | tar xf -
$ cd binutils-2.11.2
$ mv binutils bfd gas gprof intl opcodes ..
$ cd include
$ find . -print | cpio -pdmv ../../include
$ cd ../.. && tar xvf include.tar && rm include.tar
$ cd objdir
$ CC=cc ../configure --with-gnu-as --with-included-gettext \
--enable-shared --enable-languages="c,c++,f77,java" \
--enable-libgcj --enable-threads --prefix=<blah> \
--with-local-prefix=<blah>
--
albert chin (china@thewrittenword.com)