public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thanh-Lam NGUYEN <nguyen56@sxb.bsf.alcatel.fr>
To: gcc-help@gcc.gnu.org
Subject: problem compiling gcc 3.0.1 with solaris 2.6
Date: Mon, 10 Sep 2001 02:09:00 -0000	[thread overview]
Message-ID: <3B9C8338.8A62C7DC@sxb.bsf.alcatel.fr> (raw)

My system conf :
sun sparc ultra5 with solaris 2.6
binutils 2.11.2
gcc 2.95.3

the config command I used :
env CFLAGS='-I/users/nguyen56/local/include'
CXXFLAGS='-I/users/nguyen56/local/include'
CPPFLAGS='-I/users/nguyen56/local/include' ../gcc-3.0.1/configure
--prefix=/users/nguyen56/local
--with-gnus-as=/users/nguyen56/local/bin/as
--with-gnu-ld=/users/nguyen56/local/bin/ld --enable-languages=c++,c
--with-included-gettext

I compile binutils and all my stuff with this prefix
/users/nguyen56/local

when I do 'make bootstrap', I get the following error:


/users/nguyen56/local/sparc-sun-solaris2.6/bin/ld:libgcc.map: file
format not recognized; treating as linker script
/users/nguyen56/local/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse
error
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/disk1/gcc.objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/disk1/gcc.objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/disk1/gcc.objdir/gcc'
make: *** [bootstrap] Error 2
Exit 2


I don t know what to do, someione can help ?

             reply	other threads:[~2001-09-10  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10  2:09 Thanh-Lam NGUYEN [this message]
2001-09-10 16:40 ` problem getting C++ support with gcc Tom Cruickshank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B9C8338.8A62C7DC@sxb.bsf.alcatel.fr \
    --to=nguyen56@sxb.bsf.alcatel.fr \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).