lists.zerezo.com



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

***BOGO*** Re: [Mingw-users] Fwd: DLL sorcery with gcc and gfortran




2008/6/21 Aaron W. LaFramboise <aaron77thyme@xxxxxxxxxxx>:
Dennis Wassel wrote:

> 1) Is there a way to build a MinGW gcc with shared runtime libraries?

Not yet.  The shared libraries for libstdc++ and libgcc have sort of
been 'hacked in.'

I am presently working on fixing this situation in upstream GCC 4.4,
which will be backported into 4.3 at the appropriate time.

> 2) How do I tell either gfortran (via !DEC ATTRIBUTES or similar) or
> gcc (via some export table?) to only export selected symbols?

You'd use a .def file.  This lets you control symbol export similarly to
ELF's visibility mechanism.

Many thanks everyone, this looks as if it is enough sufficient to get me started!

As for the static linkage: I could not find any comprehensible statement about the licensing of libgfortran on the gcc website. I strongly assume that libgfortran and libgfortranbegin are LGPL, lest I'd not be able to link them to non-GPL code. Do you know, if this is the case, and if this also allows including (part of) the library into a non-GPL library? I appreciate this is pretty OT, but it just pops up...

Cheers,
Dennis

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users