Thanks Tomas,
I did a quick test and it works perfectly!
Regards, Darius
Tomas Hajny schreef op 20 mrt '14:
> On Wed, March 19, 2014 23:49, Darius Blaszyk wrote:
>
> Hi,
>
>> I was wondering if it's possible to link FPC object files by using the $Link
>> directive? At least I have tro
On Wed, March 19, 2014 23:49, Darius Blaszyk wrote:
Hi,
> I was wondering if it's possible to link FPC object files by using the
> $Link directive? At least I have troubles in getting this to work and
> therefore I'm asking here. Please consider the minimal example I have
> attached to this emai
Hi md,
Linking with C files works just fine. No problem with that. However I
would like to link regular FPC object files instead. Please see the
three files I attached in my first email. For some reason the linker
could not find the implemented procedure. So the question is, how to
modify the
Darius:
I just went through this and it is fresh in my mind, but with 32 bit code.
I used CodeBlocks with MingGW to compile the c source code to a static
library with an mylib.A suffix.
I am pretty sure you cannot use MSVC to compile the c code.
Then use the {$LINKLIB path/mylib.a} directive