Re: [fpc-pascal] $LINKLIB MSVCRT on windows

2014-03-11 Thread m...@rpzdesign.com
The problem in tracert is at telekom.at. Woe to the developer outside of telekom.at md On 3/10/2014 10:27 PM, Dmitry Boyarintsev wrote: I'm getting 404 error some times (randomly). However, in a minute I can access the forum again. It might be an issue on the hosting server. thanks, Dmitry

Re: [fpc-pascal] $LINKLIB MSVCRT on windows

2014-03-10 Thread Dmitry Boyarintsev
I'm getting 404 error some times (randomly). However, in a minute I can access the forum again. It might be an issue on the hosting server. thanks, Dmitry On Mon, Mar 10, 2014 at 3:21 PM, Ralf Quint wrote: > On 3/10/2014 7:23 AM, m...@rpzdesign.com wrote: > >> Ludo: >> >> I wish the forum.laza

Re: [fpc-pascal] $LINKLIB MSVCRT on windows

2014-03-10 Thread Ralf Quint
On 3/10/2014 7:23 AM, m...@rpzdesign.com wrote: Ludo: I wish the forum.lazarus.freepascal.org website were functional. It is usually not responding most of the time. Must be an issue on your side, I can access it, at any time I have tried in the last few weeks, just perfectly fine... Ralf

Re: [fpc-pascal] $LINKLIB MSVCRT on windows

2014-03-10 Thread m...@rpzdesign.com
Ludo: I wish the forum.lazarus.freepascal.org website were functional. It is usually not responding most of the time. Can you or anybody just copy the step by step instructions into an email and send it to me directly? I would love to look at the step by step instructions, but that forum

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-10 Thread Ludo Brands
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
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

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
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/

[fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
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