This is the mail archive of the gcc-bugs@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]

WG: Problems using gcc-3.xx




-----Ursprüngliche Nachricht-----
Von: Dr. Sergio Nicola Erné [mailto:sergio-nicola.erne@zibmt.uni-ulm.de]
Gesendet: Sonntag, 3. März 2002 12:50
An: bug-PROGRAM@gnu.org
Betreff: Problems using gcc-3.xx


I was, together with coworker and students happy user of gcc for many years.
Passing
to gcc-3.xx we have severe trouble. Probably this is not a real bug, but we
need some help.
I did not find at the site of gnu.org a more suitable address for our
problem.

we have developed over years alrge program for the analysis of biomagnetic
and Magnetic resonanz imaging.
The project include C++, C, and Fortran libraries.
All this years using gcc-2.95.xx we had a Makefile using

g++ for the C++ parts, g77 for Fortran and gcc for the C parts.
we used gcc as linker.

the linking sequence was organized as follow:

C++ libraries, C libraries, system libraries, math library (-lm),
fotran library, -lg2c

when we passed to gcc-3.xx using gcc as linker was not more possible
(linking impossible du to missing functions new and delete), using g++ as
linker works, the program is linked whitout error or warnings.
But at runtime there are errors on the mathematical library, namely often
the results of sqrt is nan.
The same project runs whitout errors under  UPUX, using Hp compilers and
linkers.


as attachment I include a copy of the Makefile


Perhaps there is some experts that is familiar with the problem and can
advice me in the proper procedure,
or at least can suggest a workaround

Thank you in advance

S.N. Erné
Biosignals and Imgaging Technology
Central Institute for Biomedical Engineering
University Ulm
ULM
Germany

Attachment: linux_make.mk
Description: Binary data


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