Neal Becker wrote:
Does this support building shared libs now (on x86_64)?

...
I uploaded the packages to SourceForge, if anyone else
wants to try them... It's made for Fedora 14 (x86_64):

http://sourceforge.net/projects/gdcgnu/files/gdc/8ac6cb4f40aa/

You mean in general, or specifics ? (like throwing exceptions
or allocating memory or whatever...) Was it a problem before ?

Basic creation seems to work:

$ gdc -fPIC -o foo.o -c foo.d
$ gcc -shared -o libfoo.so foo.o
$ file libfoo.so
libfoo.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped

AFAIK both shared libraries and x86_64 code have been working
for years with GDC, even though that is not the case with DMD.

Phobos is still static, though.

--anders

Reply via email to