Re: gnucap development snapshot 2009-06-11

Nicolás Barabino <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
Hello, thanks for the answer!

I finally managed to compile with this changes:

adding "-fno-common -D linux" to CFLAGS
and changing LDFLAGS to "-dynamiclib
-Wl,-headerpad_max_install_names,-undefined,dynamic_lookup"

I don't think it's an optimum solution but it works.
Regards
Nico

El 24 de junio de 2009 18:02, al davis <[email protected]> escribió:

> On Friday 12 June 2009, Nicolás Barabino wrote:
> > Hello, I have a problem compiling the bsim plugins in an
> > intel based mac, using apple's gcc. The problem arises while
> > trying to use g++ whith "-shared", which is not supported by
> > apple's gcc. I think the solution is to use "-dynamiclib"
> > instead of "-shared" but i haven't found the right way yet.
> >
> > Thanks in advance for your help
> > Regads
> > Nico
>
> Sorry about the delay in responding.
>
> I don't know the answer.  Maybe someone else can step in.  The
> plan is to use "libtool" to automatically handle things like
> this.  Someone is working on this, but I don't know the status.
>
> There is also a question about the use of the function "dlopen"
> which complies with the POSIX standard, but some systems do not
> provide compliant libraries.  I don't know where the mac stands
> on this.
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.