I recently discovered that dmd and gdc are incompatible. Since gld has only been built and tested with dmd, it is understandable that it does not work for gdc. The incompatibility is very unfortunate for library developers because binaries will have to be supplied for each combination of tool and platform.

If you can use dmd instead of gdc, that is the immediate temporary fix, while I work on building and testing gld with gdc.

Do you mean that you can't run the supplied makefile when using DMD? Or is it something else you are trying. Please help me help you by showing the details of what you are attempting to do.

funsheep wrote:

i also tried to build some other things, and IMHO the problem with

Code:

gdc: unrecognized option '-Hdheaders'

is a bug in bud/build. passing the options to gdc seems to be wrong.

Bud just passes switches through to whatever complier you have decided to use. If GDC doesn't support the -H switch there is not much I can do about it._________________--
Derek
skype name: derek.j.parnell

im on linux, with dmd and bud 3.04. see the above mentioned thread, why i need to pass the parameter -L-L/home/funsheep/dmd/lib.
this cant be done with the root-buildme file, provided by gld. so i hardcoded it in there. running that file failes, when trying to run the buildme, created in gl (cant find it).

now i ran the buildme exec in gl myself, and it has build the gl library. i get a gl.a and a imports file.

then i tried to run the buildme in the x11 folder. that didnt work, it could not find gl.d, and here im stuck. could someone tell me, how to set the pathes correctly, when running the x11/buildme and gld/buildme ?

today i had the time to try version 5 (downloaded it earlier and was to lazy to update it to version 6). it works! thanks a lot for updating the building system. now i can compile with dmd and gdc on my linux machine.

though, there is some speeddown - i tried the gears demo and compared it against the glxgears-demo already installed on the system (i know, its not a benchmark).