From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006549.tru64-unix-managers.marc@archive.invalid> From: CHELA KUNASZ /JILA (303)492-7807 Date: Wed, 08 Nov 1995 22:16:17 +0000 To: tru64-unix-managers Subject: gcc error messages + link with Fortran X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006549 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