Article View: gnu.gcc.help
Article #41631problem gcc-2.7.2 DEC UNIX 3.2C
From: Douglas Jones
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
79 lines
2924 bytes
2924 bytes
Hi,
When compiling gcc-2.7.2 and g++, I get the following error in
several places (or one similar to it):
/usr/bin/ld:
Warning: Linking some objects which contain exception information sections
and some which do not. This may cause fatal runtime exception handling
problems (last obj encountered without exceptions was version.o).
After compiling and installing and compiling a hello.c and hello.cc I get
the following output (a script output):
Script started on Thu Feb 29 10:48:15 1996
%cat hello.cc
#include <iostream.h>
main()
{
cout << "Hello World from g++" << endl;
}
%g++ hello.cc
/usr/bin/ld:
Warning: Linking some objects which contain exception information sections
and some which do not. This may cause fatal runtime exception handling
problems (last obj encountered without exceptions was /usr/local/gnu/lib/libstdc++.a).
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/usr/bin/ld:
Warning: Linking some objects which contain exception information sections
and some which do not. This may cause fatal runtime exception handling
problems (last obj encountered without exceptions was /usr/local/gnu/lib/libstdc++.a).
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
%a.out
Hello World from g++
%cat hello.c
#include <stdio.h>
main()
{
printf("Hello World from gcc\n");
}
%gcc hello.c
%a.out
Hello World from gcc
%^Dexit
script done on Thu Feb 29 10:48:51 1996
To save bandwidth, I have made three files available for annonymous
ftp at dekalb.dc.peachnet.edu/pub/gnu. The are:
dc_make - procedure file to make and install gcc and g++
make_err - the output from this procedure (long file, 3000+ lines)
typescript - the hello.{c,cc} programs and their output
%ls -la ~ftp/pub/gnu
total 213
drwxr-xr-x 2 nopriv bin 512 Feb 29 10:51 .
drwxr-xr-x 6 nopriv bin 512 Feb 29 10:51 ..
-rw-r--r-- 1 nopriv bin 1404 Feb 29 10:51 dc_make
-rw-r--r-- 1 nopriv bin 203671 Feb 29 10:51 make_err
-rw-r--r-- 1 nopriv bin 1009 Feb 29 10:51 typescript
The make_err will have the linking errors mentioned above and
the tyepsript is just what is in the above typescript listing.o
I also used the most recent gnu make, 3.74 to do the makes.
Any help would be greatly appreciated, we would really like to
get g++ up and running.
Thanks,
Cheers,
Douglas
Technical Details
Message-ID:
<4h4il5$eco@dekalb.dc.peachnet.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,dafbf91dfb774759,start X-Google-Attributes: gid11318c,public From: douglas@dekalb.dc.peachnet.edu (Douglas Jones) Subject: problem gcc-2.7.2 DEC UNIX 3.2C Date: 1996/02/29 Message-ID: <4h4il5$eco@dekalb.dc.peachnet.edu> X-Deja-AN: 141607885 distribution: world organization: DeKalb College, Clarkston GA reply-to: douglas@dekalb.dc.peachnet.edu newsgroups: gnu.gcc.help