[phobos] 32 and 64 bit libraries on Linux

Jonathan M Davis jmdavisProg at gmx.com
Mon Jan 3 15:00:14 PST 2011


On Monday 03 January 2011 14:48:38 Walter Bright wrote:
> Currently, dmd simply looks for libphobos.a
> 
> I suggest changing it to:
> 
>     lib32/libphobos.a    for -m32
>     lib64/libphobos.a    for -m64

I assume that that's within the file hierarchy in the zip file? The correct 
directories for those varies from distribution to distribution if you're talking 
about /lib, /usr/lib, or /usr/local/lib. Some distros have lib for 32-bit and 
64-bit. Others do lib for 64-bit and lib32 for 32-bit. However, any that have 
both lib32 and lib64 are going to have lib as well with either lib being a 
symlink to one of the other two or one of the other two being a symlink to lib.

- Jonathan M Davis


More information about the phobos mailing list