Thread View: gnu.g++.help
1 messages
1 total messages
Started by Lim Choon Long
Tue, 08 Sep 1992 06:49
installing libg++ 2.2 in sun386i
Author: Lim Choon Long
Date: Tue, 08 Sep 1992 06:49
Date: Tue, 08 Sep 1992 06:49
44 lines
1862 bytes
1862 bytes
Hi,
I have installed gcc 2.2.2 on a sun386i running 4.0.2 but I have problems
nstalling libg++-2.2.
(1) when I 'make' in the libg++-2.2 directory, I got:
---------------------
cc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c
AllocRing.cc
cc: Option -n misformed as -nostdinc++
*** Error code 1
make: Fatal error: Command failed for target `AllocRing.o'
---------------------
(2) If I 'make' in the /libg++-2.2/libg++ directory, I got:
---------------------
gcc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c
AllocRing.cc
In file included from ./std.h:26, from AllocRing.cc:22:
./../g++-include/string.h:28: declaration of `int strlen (const char
*)'
<built-in>:0: conflicts with built-in declaration `long unsigned int
strlen (const char *)'
*** Error code 1
make: Fatal error: Command failed for target `AllocRing.o'
---------------------
(3) I found the following message in g++-include/string.h:
---------------------
// NOTE: If you get a error message from g++ that this declaration
// conflicts with a <built-in> declaration of strlen(), that usually
// indicates that __SIZE_TYPE__ is incorrectly defined by gcc.
// Fix or add SIZE_TYPE in the appropriate file in gcc/config/*.h.
---------------------
Can someone please explain to me what are the steps involved in (3)?
Besides these, is there any other fixes to be made in order to get g++
running in my system?
Thanks.
Choon-Long Lim
email: limcl@iscs.nus.sg
limcl@nusdiscs.bitnet
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads