[Issue 1940] Phobos buildscripts do not work on x86_64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 23 12:13:40 PDT 2008


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





------- Comment #20 from andrei at metalanguage.com  2008-06-23 14:13 -------
(In reply to comment #19)
> 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).

Sounds great, did all that. Thanks very much.


-- 



More information about the Digitalmars-d-bugs mailing list