[Issue 1940] Phobos buildscripts do not work on x86_64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 23 11:56:55 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1940





------- Comment #19 from lindevel at gmx.net  2008-06-23 13:56 -------
Thanks! :)

-m32 for linking is needed, yes.
Though i.e. autotools and other buildsystems pass CFLAGS to CC during linking
as well. So you will have to (and should) call CC with both CFLAGS and LDFLAGS
anyway.
So you should rather prepend -m32 just to CFLAGS.
Prepend instead of append, because CrazyUser might want to override that (maybe
while trying to add x86_64 support to dmd or whatever).


-- 



More information about the Digitalmars-d-bugs mailing list