gdc on Ubuntu!

Neal Becker ndbecker2 at gmail.com
Wed Nov 14 06:02:50 PST 2007


Adam Burton wrote:

> Neal Becker wrote:
> 
>> Adam Burton wrote:
>> 
>>> Pablo Ripolles wrote:
>>> 
>>>> Witold Baryluk Wrote:
>>>> 
>>>>> Dnia Sun, 11 Nov 2007 18:16:41 -0800
>>>>> Walter Bright <newshound1 at digitalmars.com> napisał/a:
>>>>> 
>>>>> > Jason House wrote:
>>>>> > > Any plans on getting dmd in as a package in ubuntu too?
>>>>> > 
>>>>> > The problem is that dmd gets updated so frequently...
>>>>> 
>>>>>
>>>
>
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
>>>>> (it is working also in Ubuntu)
>>>>> 
>>>>> 
>>>>> It is updated by me practicly about one day after dmd release.
>>>>> 
>>>>> dmd2-nonfree is also pacakged.
>>>>> 
>>>>> 
>>>>> --
>>>>> Witold Baryluk, aleph0
>>>> 
>>>> But the problem is that those binaries can only be installed on an i386
>>>> arch and not on an amd64 version of ubuntu... thats a pity...
>>>> 
>>>> Pablo
>>> I am running amd64 and they are there, working just fine.
>> 
>> Can you build a shared library with it?
> Unfortunately not, however I downloaded the deb-src and added -fPIC to the
> makefile stuff and now I can (not that I tested whether I can link to the
> shared library, just test that it can make them although I would like to
> assume that they are use-able).
> 
Last time I tried, the problem was that the x86_64 version didn't build
shared versions of all of it's own libs, and on i386 you can link a non-pic
lib to a pic one, but not on most other arch, (including x86_64).  So, you
couldn't build a shared lib on gdc x86_64 (or at least, you couldn't really
use it).




More information about the Digitalmars-d-announce mailing list