Can D interface with Free Pascal?
Taylor Hillegeist via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jan 29 21:01:03 PST 2016
On Saturday, 30 January 2016 at 04:49:39 UTC, Taylor Hillegeist
wrote:
> On Saturday, 30 January 2016 at 04:35:29 UTC, Taylor Hillegeist
> wrote:
>> On Saturday, 30 January 2016 at 04:11:07 UTC, Mike Parker
>> wrote:
>>> [...]
>>
>> Now I'm wishing that was the problem. Interestingly enough
>> when i link to a C shared library it works... but also it
>> isn't show in the needed shared library sections like below.
>>
>> [...]
>
> Acctually I made multiple mistakes. 0x000000000000000f (RPATH)
> Library rpath:[--export-dynamic] should be [lib]
>
> Ill fix that and test again.
dmd Gethello.d -Llibhello.so -L"-rpath=./" made it use the CWD
able to load libraries! cool!
More information about the Digitalmars-d-learn
mailing list