[fpc-devel] the libc unit on 64-bit systems

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Jan 31 22:29:22 CET 2008

On 31/01/2008, Marco van de Voort <marcov at stack.nl> wrote:
> Something like
> {$ifdef cpu386}
> {$ifdef linux}
> {$define linux386}
> {$endif}
> {$endif}

Wow you guys reply quickly. :)  The above code doesn't look nice
either, so I think I will rather implement a alternative.

All I really use 'libc' for is to retrieve the user name and group
name from the user and group id's of files.  As I said, it's not
critical, I can always display the id's only.  Or maybe parse the
/etc/groups and /etc/passwd files to get the names, but I heard that's
not very accurate for some reason.

Thanks again Marco and Daniƫl for the quick replies!

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-devel mailing list