creating static/dynamic lib (_minit remains unresolved)
sclytrack
sclytrack at pi.be
Wed Jan 17 13:14:51 PST 2007
== Quote from Manuel_König (manuelk89 at gmx.net)'s article
> Hi there,
> I've got a problem creating libraries with gdc (Windows-version). I want
> to build a library in D using gdc and link it against a C-program using
> gcc. Since the spec says I have to do some module startup I have to call
all: main.o libgui.so
cc -o main main.o -lpthread -ldl -lm -lgphobos -L. -lgui
# gdc -o main main.o -L. -lgui
> "libgphobos" against both gdc and gcc in any combination, but the
> problem remains.
More information about the D.gnu
mailing list