[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shared libraries possible with old g++, g77?

From: Ed Hartnett
Subject: Re: shared libraries possible with old g++, g77?
Date: Wed, 14 May 2008 06:12:59 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Bob Friesenhahn <address@hidden> writes:

> On Tue, 13 May 2008, Ed Hartnett wrote:
>> I am the maintainer for a freeware scientific software library called
>> netcdf. There are C, Fortran, and C++ libraries.
>> When building shared libraries with older versions of the tools, I get
>> problems. gcc works fine, and I get a shared C library, but my fortran
>> and C++ programs seg fault instead of working. For example:
>>        make  check-TESTS
>> *** Testing C++ API with 2 different netCDF formats.
>> /bin/sh: 14312 Segmentation fault(coredump)
>> Is this expected? Or should I be able to build shared libraries with
>> version 3.2 of g++ and g77?
> You have not given much to go on here.  Are you sure that your
> software doesn't have a bug?  Maybe you should try to debug it.

Well, it works for a static build, and for shared builds with more
modern gcc/gfortran/g++ combinations...


Ed Hartnett  -- address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]