On 03/09/2014 08:36 PM, m...@rpzdesign.com wrote:
> Marco:
>
> Based on the tone of your response, I am thinking that I
> am doing something stupid on windows win32?
>
You are on the correct path but you need to point to the mingw
libraries. They provide the stubs for msvcrt and other windows st
In our previous episode, m...@rpzdesign.com said:
> Based on the tone of your response, I am thinking that I
> am doing something stupid on windows win32?
Not really. You are just asking C questions in a Pascal list :-)
> Should I be using Microsoft compiler to build ceecodelib.a? (Instead of
Marco:
Based on the tone of your response, I am thinking that I
am doing something stupid on windows win32?
Should I be using Microsoft compiler to build ceecodelib.a? (Instead of
Mingw 4.7x)
I was seeing COFF magic error for Microsoft compiler static libraries.
The amount of information I
In our previous episode, m...@rpzdesign.com said:
> Thanks for your response.
>
> I am trying to use {$LINKLIB ceecodelib.a} .
>
> But this compiled c code makes references to Windows C Runtime calls
> like _memcpy, etc.
What is that library compiled with? I guess mingw.
You probably need vari
Marco:
Thanks for your response.
I am trying to use {$LINKLIB ceecodelib.a} .
But this compiled c code makes references to Windows C Runtime calls
like _memcpy, etc.
Under linux, I was able to use {$LINKLIB c} and it picked up all the
unresolved references for the linker.
Under Windows Wi
In our previous episode, m...@rpzdesign.com said:
> Has anybody got a clue how to statically link the windows c run time with
> lazarus/freepascal on Windows 7/8 x32 or x64?
No idea.
> Looking at gdbint.pp, there are all sorts of references to {$LINKLIB
> libmsvcrt.a}
>
> But there is only li
Oops:
That was a typo error.
First I need to link to c run time on Windows.
Then I need to link to c run time on OSX.
Cheers,
marco
On 3/9/2014 1:42 PM, m...@rpzdesign.com wrote:
Hey:
Has anybody got a clue how to statically link the windows c run time with
lazarus/freepascal on Windows 7/
Hey:
Has anybody got a clue how to statically link the windows c run time with
lazarus/freepascal on Windows 7/8 x32 or x64?
Looking at gdbint.pp, there are all sorts of references to {$LINKLIB
libmsvcrt.a}
But there is only libmsvcrt.a when I install MingW 4.8.1 compiler
Since forum.lazaru