This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: and the next bug as compilation on Solaris 2.6


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)


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