gcc error messages + link with Fortran

From: 303 <CHELA>
Date: Wed, 8 Nov 1995 15:16:17 -0700 (MST)

I have recently successfully installed gcc-2.7.0 and the associated
library, libg++-2.7.0 on my Alphastation 250 4/266 running Digital
UNIX 3.2C. In general it all seems to work well. I have 3 questions:

1. I have seen many messages like the one below (even while compiling
        the gcc itself and the g++ library):
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/lib/lib
        stdc++.a).

   I have seen these before. Should I be worried about this? Is there
   any way to create a gcc which does not generate these warnings? I
   compiled mine the way that was recommended in the gcc-2.7.0 INSTALL
2. In addition I get the warning, for some programs (maybe some which
        might refer to the function clog):
 
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL
FUNC
I remember that a user once had a good way to get around this, but I
have forgotten what he did. Where is this coming from? Is this dangerous?
What can I do about it?

3. One of my users is having problems linking Fortran object files with
        the g++ command (but says this works fine on IBM). Are there
        folks out there who are doing something like this:

      "g++ -o be.x be2.cxx zgeev.o zheev.o -lm -lnag -lfor "
where "zgeev.o zheev.o" are fortran objects, which unfortunately
have to call either nag or dxml. He gets unresolved routines:
Unresolved:
zheev
zgeev
_OtsMoveMinimum
_OtsFill
_OtsMove
_OtsDivide32
_OtsStringCompareEqlPadded
        
In the past I've only worked with f77 and C and I just used to
compile it all with f77... Any suggestions?

Thanks for any info on any or all of the above..!
Chela Kunasz
Received on Wed Nov 08 1995 - 23:55:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT