public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problem compiling gcc 3.0.1 with solaris 2.6
@ 2001-09-10  2:09 Thanh-Lam NGUYEN
  2001-09-10 16:40 ` problem getting C++ support with gcc Tom Cruickshank
  0 siblings, 1 reply; 2+ messages in thread
From: Thanh-Lam NGUYEN @ 2001-09-10  2:09 UTC (permalink / raw)
  To: gcc-help

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 ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* problem getting C++ support with gcc
  2001-09-10  2:09 problem compiling gcc 3.0.1 with solaris 2.6 Thanh-Lam NGUYEN
@ 2001-09-10 16:40 ` Tom Cruickshank
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Cruickshank @ 2001-09-10 16:40 UTC (permalink / raw)
  To: GCC

Hello,
    I recently compiled gcc 3.0. Unfortunately, I don't seem to have
C++ support.Would anyone know of how to accomplish this task?

Note; I have already tried rpm -i gcc-c++-3.0.0.85.i686.rpm
but had no success in getting past this roadblock. Thanks in advance
for any help!

Sincerely,

Thomas Cruickshank

[jero@jero MPlayer]$ ./configure
You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware
environment!
Detected operating system: Linux
Detected host architecture: i386
Checking version of gcc ... 3.0, ok
Checking for language ... en
Using ... help_mp-en.h file
GL includes not found!
DivX4Linux includes (decore.h) not found!
Checking assembler (as) ... 2.10.91, ok
Checking mmx support in Kernel ... ok
Checking mmx2 support in Kernel ... ok
Checking sse support in Kernel ... ok
Checking Linux kernel version ... 2.4.2-2, ok
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Checking for cpu vendor ... GenuineIntel ( 6:8:1 )
Checking for cpu type ...  Pentium III (Coppermine)
Optimizing to ... i686
Checking for mmx support ... yes
Checking for mmx2 support ... yes
Checking for 3dnow support ... no
Checking for 3dnowex support ... no
Checking for sse support ... yes
Checking for mtrr support ... yes
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking for X11 headers ...
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... yes
Checking for AA ... no
Checking for GGI ... no
Checking for OpenGL ... no
Checking for Xv ... yes
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. yes
Checking for Xf86VM ... yes
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for OSS Audio ... yes
Checking for ALSA Audio ... no
Checking for ESD Audio ... yes
Checking for Sun Audio ... no
Checking for Sun mediaLib ... no
Checking for DeCSS support ... no
Checking for DVDread support ... no
Checking for PNG support ... yes
Checking for OggVorbis support ... yes
Checking for Win32 DLL support ... yes
Checking for DirectShow ... yes
Checking if your compiler 'gcc' supports C++ ... no
Your C++ compiler does not support C++, make sure you have enabled it on
compiler compilation or for binary packages, make sure the appropriate
packages are installed!
If you don't need DirectShow support, you can also use:
./configure --disable-dshow <your-normal-configure-options>
to disable building of the C++ based DirectShow code.
[jero@jero MPlayer]$


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-10 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10  2:09 problem compiling gcc 3.0.1 with solaris 2.6 Thanh-Lam NGUYEN
2001-09-10 16:40 ` problem getting C++ support with gcc Tom Cruickshank

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).