[phobos] 32 and 64 bit libraries on Linux
Walter Bright
walter at digitalmars.com
Mon Jan 3 15:13:38 PST 2011
Jonathan M Davis wrote:
> 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.
>
>
I figure the lib32 and lib64 directories being subdirectories of the
directory they are installed in - i.e. dmd will search for
lib32/libphobos.a or lib64/libphobos.a
More information about the phobos
mailing list