Re: [fpc-pascal] FPC 2.4.1 with library that requires old libc unit.

2010-04-23 Thread Graeme Geldenhuys
Jonas Maebe het geskryf: >> uses clause. No idea why - maybe Libc unit is only 32bit? > > Yes, it is. What I expected due to Kylix compatibility. > No, there is not. You have to manually import it from the C library. > You can look at rtl/unix/cwstring.pp to see the declaration of this > fu

Re: [fpc-pascal] FPC 2.4.1 with library that requires old libc unit.

2010-04-23 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > 1) First I had the problem that FPC couldn't find 'Libc' unit used in the > uses clause. No idea why - maybe Libc unit is only 32bit? Anyway, I > replaced 'Libc' in uses clause with 'baseunix' and continued... In addition to Jonas: Libc is a Lin

Re: [fpc-pascal] FPC 2.4.1 with library that requires old libc unit.

2010-04-23 Thread Jonas Maebe
On 23 Apr 2010, at 09:45, Graeme Geldenhuys wrote: 1) First I had the problem that FPC couldn't find 'Libc' unit used in the uses clause. No idea why - maybe Libc unit is only 32bit? Yes, it is. 2) This got me a bit further, to the code shown below. Is there a baseunix equivalent to Lib