Re: [fpc-pascal] libc unit and FreeBSD

2008-01-13 Thread Graeme Geldenhuys
On 14/01/2008, Daniël Mantione <[EMAIL PROTECTED]> wrote: > > Anybody know if there is a generic set of methods that supports all > > (or most) unix style OS's? I looked in 'baseunix', but there the > > group and name methods relate to a process id's, not to file > > attributes... > > You hit an a

Re: [fpc-pascal] libc unit and FreeBSD

2008-01-13 Thread Daniël Mantione
Op Mon, 14 Jan 2008, schreef Graeme Geldenhuys: Hi, As far as I understand the 'libc' unit is a compatibility unit from the Kylix days and is only meant for linux/x86, so isn't portable. I'm trying to get fpGUI working under FreeBSD but hit a snag in my File Grid component. The File Grid com

[fpc-pascal] libc unit and FreeBSD

2008-01-13 Thread Graeme Geldenhuys
Hi, As far as I understand the 'libc' unit is a compatibility unit from the Kylix days and is only meant for linux/x86, so isn't portable. I'm trying to get fpGUI working under FreeBSD but hit a snag in my File Grid component. The File Grid component displays a directory in a grid (think File Dia

[fpc-pascal] Problem using fpc

2008-01-13 Thread Plato
Compiling using the IDE+fpc 2.2.0 works correctly on my laptop(celeron cpu), yet on my new desktop(Intel 2140 Dual Core + one SATA disk and 2 IDE disks) I consistently get the following result if compiling a program(or unit) eg for a file '.pas' I get: Error:Can't create object file

Re: [fpc-pascal] arm-linux, program does not start when using unit pthreads

2008-01-13 Thread Koenraad Lelong
Bernd Mueller schreef: > Koenraad Lelong wrote: >> >> I tried on my arm-linux board, AFAIK NOT uClibc. It works fine. > Thanks. > Are you crosscompiling? Do you use static or dynamic linking? > > Regards, Bernd. > When I read you reply about linking I realised I didn't think about the fact that t