Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Jonas Maebe
On 04 Feb 2011, at 21:38, Peter Andersen wrote: > Den 04-02-2011 21:27, Jonas Maebe skrev: >> >> On 04 Feb 2011, at 21:24, Peter Andersen wrote: >> That's a very bad way to link libc, because afaik it bypasses all compiler detections for the fact that you are linking to that lib

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Peter Andersen
Den 04-02-2011 21:38, fluisgira...@gmail.com skrev: Maybe, you can try the PascalSCADA... Regards, Fabio For the moment i just want a way to copy the data from som DB to a PC. I made 16 DB in the plc with meassument 400 logs in each. These data i want to take out to a PC. So scada is a litt

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Peter Andersen
Den 04-02-2011 21:27, Jonas Maebe skrev: On 04 Feb 2011, at 21:24, Peter Andersen wrote: That's a very bad way to link libc, because afaik it bypasses all compiler detections for the fact that you are linking to that library (and doing so requires using different startup code). Inste

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread fluisgira...@gmail.com
Maybe, you can try the PascalSCADA... Regards, Fabio 2011/2/4 Jonas Maebe : > > On 04 Feb 2011, at 21:24, Peter Andersen wrote: > >>> That's a very bad way to link libc, because afaik it bypasses all compiler >>> detections for the fact that you are linking to that library (and doing so >>> re

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Jonas Maebe
On 04 Feb 2011, at 21:24, Peter Andersen wrote: >> That's a very bad way to link libc, because afaik it bypasses all compiler >> detections for the fact that you are linking to that library (and doing so >> requires using different startup code). Instead, either add {$linklib c} to >>

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Peter Andersen
Den 04-02-2011 21:04, Jonas Maebe skrev: On 04 Feb 2011, at 20:44, Jeppe Johansen wrote: Try to do a fpc -k-lc testISO_TCP.pas That should instruct the linker to link libc too That's a very bad way to link libc, because afaik it bypasses all compiler detections for the fact that you are li

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Peter Andersen
Den 04-02-2011 20:44, Jeppe Johansen skrev: Try to do a fpc -k-lc testISO_TCP.pas That should instruct the linker to link libc too Thanks That was the way to do it. -- / Peter Andersen / Skanderborg / Danmark ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Jonas Maebe
On 04 Feb 2011, at 20:44, Jeppe Johansen wrote: > Try to do a fpc -k-lc testISO_TCP.pas > > That should instruct the linker to link libc too That's a very bad way to link libc, because afaik it bypasses all compiler detections for the fact that you are linking to that library (and doing so re

Re: [fpc-pascal] Libnodave on linux

2011-02-04 Thread Jeppe Johansen
Try to do a fpc -k-lc testISO_TCP.pas That should instruct the linker to link libc too Den 04-02-2011 20:27, Peter Andersen skrev: Hello Is there anybody who has compilled the libnodave testprogram "TestISO_TCP.PAS" under linux. If yes could you tell what version of fpc and what options etc.

[fpc-pascal] Libnodave on linux

2011-02-04 Thread Peter Andersen
Hello Is there anybody who has compilled the libnodave testprogram "TestISO_TCP.PAS" under linux. If yes could you tell what version of fpc and what options etc. you have used to it. I have try with version 2.4.2 but got somthing like this: [peter@Dell hmi]$ fpc testISO_TCP.pas Free Pascal Co