This is the mail archive of the gcc-help@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]
Other format: [Raw text]

RE: FW: I have a question about gcc version.


Hi,

Would you please answer us? This is big issue for us.

Best Regards,
Jun-Mok Song

-----Original Message-----
From: Song, Jun-Mok 
Sent: Tuesday, October 22, 2002 3:46 PM
To: 'gcc-help@gcc.gnu.org'; 'Janis Johnson'
Cc: Hong, Sub; Shin, Dong In
Subject: RE: FW: I have a question about gcc version.


Hi,
Thank you for your support. 
First of all, when I ran configure at ../gcc-3.2/configure with obdir at the same level as the source directory but  error happened.
(The O/S is Tru64 UNIX V5.1A).

The error was as following:
=======================================================================================================
"cc -c -DIN_GCC -DLOCALEDIR=\"/usr/local/share/locale\" 
 -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" 
 -DHAVE_CONFIG_H -I.. -I. -I../../../gcc/intl -I../../../gcc  -I../../../gcc/config 
 -I../../../gcc/../include  -g    plural.c -o plural.o cc: Severe: No such file or directory ... file is 'plural.c' *** Exit 1 Stop."
========================================================================================================


So Janis Johnson recommended the option for configure such as "--disable-nls" and we ran 'configure -disable-nls' and next run "make bootstrap".
then the above error was disappeared but another error happened as following:

========================================================================================================
/libsupc++convenience.a/dyn-string.o   -L/data/objdir/alphaev6-dec-osf5.1/libstd
c++-v3/src -L/data/objdir/alphaev6-dec-osf5.1/libstdc++-v3/src/.libs -lm ../libm
ath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/data/ob
jdir/gcc -L/usr/local/lib/gcc-lib/alphaev6-dec-osf5.1/3.2 -L/usr/lib/cmplrs/cc -
L/usr/local/lib/gcc-lib/alphaev6-dec-osf5.1/3.2/../../.. -lstdc++ -lm -lgcc_s -l
c -lgcc_s -lm -lstdc++ -lm -lgcc_s -lc -lgcc_s     -Wl,-msym -Wl,-soname -Wl,lib
stdc++.so `test -n "5.0.0:5.0" && echo -Wl,-set_version -Wl,5.0.0:5.0` -Wl,-upda
te_registry -Wl,.libs/so_locations -o .libs/libstdc++.so.5.0.0
/usr/bin/ld:
Can't locate file for: -lstdc++
collect2: ld returned 1 exit status
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
===========================================================================================================

In advance, thank you for your help again.
Please help me solve this problem.

Best regards,
Jun-Mok Song




-----Original Message-----
From: Janis Johnson [mailto:janis187@us.ibm.com]
Sent: Tuesday, October 22, 2002 12:28 PM
To: Song, Jun-Mok
Cc: Janis Johnson; Hong, Sub; Shin, Dong In
Subject: Re: FW: I have a question about gcc version.


I don't know anything about HP systems and not all that much, really,
about building GCC on a variety of platforms.  You would be better off
sending mail to gcc-help@gcc.gnu.org explaining exactly what you've
done and what messages you see.  Make sure you show using objdir at the
same level as srcdir, since that what the installation instructions say
to do.

Your failure seems to be in building the national language support.
I assume you'd like to have that, but if not you could configure with
--disable-nls.  You might try that anyway, just to see if your build
succeeds without it.

Good luck.

Janis


On Tue, Oct 22, 2002 at 09:36:25AM +0900, Song, Jun-Mok wrote:
> Hi,
> Thank you for your support.
> We tried to run ../gcc-3.1/configure with obdir at the same level as the source directory but same error happened.
> And GCC3.2 had same errors. Please help us.
> Best regards,
> Jun-Mok Song
> 
> -----Original Message-----
> From: Janis Johnson [mailto:janis187@us.ibm.com]
> Sent: Tuesday, October 22, 2002 12:34 AM
> To: Song, Jun-Mok
> Subject: Re: FW: I have a question about gcc version.
> 
> 
> On Mon, Oct 21, 2002 at 09:49:03AM +0900, Song, Jun-Mok wrote:
> > Hi,
> > Thank you for your support.
> > I made a subdirectory, objdir, from gcc-3.1. and ran ../configure without any option at /gcc-3.1/objdir.
> 
> The build directory should not be within the source directory. Try again
> with objdir at the same level as the source directory, so you'll invoke
> cofigure with ../gcc-3.1/configure.
> 
> By the way, there are a lot of bug fixes in GCC 3.1.1, so I would
> recommend using either GCC 3.1.1 or 3.2 rather than 3.1 unless you
> have a specific requirement for using that version.
> 
> Janis


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