On Thursday, 28 January 2016 at 04:26:26 UTC, Taylor Hillegeist
wrote:
Just curious... I had a thought that perhaps since Objective C
was a replacement for Pascal on the mac. that they might have
the same interface. but I'm not savvy enough with fpc to figure
out how to try it.
As said in
On Saturday, 30 January 2016 at 03:43:59 UTC, Taylor Hillegeist
wrote:
Working through a simple example. I tried the cdecl option but
for some reason i can compile but when i run my Gethello it
cant find the shared library in the same folder?
taylor@taylor-NE510:~/Projects/PASCAL$ nm
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
On Saturday, 30 January 2016 at 04:11:07 UTC, Mike Parker wrote:
On Saturday, 30 January 2016 at 03:43:59 UTC, Taylor Hillegeist
wrote:
Working through a simple example. I tried the cdecl option but
for some reason i can compile but when i run my Gethello it
cant find the shared library in
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
On Friday, 29 January 2016 at 01:47:11 UTC, Mike Parker wrote:
On Thursday, 28 January 2016 at 19:49:22 UTC, Taylor Hillegeist
wrote:
On Thursday, 28 January 2016 at 19:33:22 UTC, bearophile wrote:
FreeSlave:
On Thursday, 28 January 2016 at 08:15:38 UTC, FreeSlave wrote:
Not directly. You can
FreeSlave:
On Thursday, 28 January 2016 at 08:15:38 UTC, FreeSlave wrote:
Not directly. You can declare cdecl function on Free Pascal
side and call it as extern(C).
What about extern(Pascal)?
https://dlang.org/spec/attribute.html#linkage
Bye,
bearophile
On Thursday, 28 January 2016 at 19:33:22 UTC, bearophile wrote:
FreeSlave:
On Thursday, 28 January 2016 at 08:15:38 UTC, FreeSlave wrote:
Not directly. You can declare cdecl function on Free Pascal
side and call it as extern(C).
What about extern(Pascal)?
On Thursday, 28 January 2016 at 04:26:26 UTC, Taylor Hillegeist
wrote:
Just curious... I had a thought that perhaps since Objective C
was a replacement for Pascal on the mac. that they might have
the same interface. but I'm not savvy enough with fpc to figure
out how to try it.
Not directly.
On Thursday, 28 January 2016 at 19:49:22 UTC, Taylor Hillegeist
wrote:
On Thursday, 28 January 2016 at 19:33:22 UTC, bearophile wrote:
FreeSlave:
On Thursday, 28 January 2016 at 08:15:38 UTC, FreeSlave wrote:
Not directly. You can declare cdecl function on Free Pascal
side and call it as
Just curious... I had a thought that perhaps since Objective C
was a replacement for Pascal on the mac. that they might have the
same interface. but I'm not savvy enough with fpc to figure out
how to try it.
11 matches
Mail list logo