Am Freitag, den 17.03.2006, 15:26 -0300 schrieb Felipe Monteiro de Carvalho: > Hello, > > On 3/16/06, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > Since I'm still fiddling with reading the serial port I have the idea > > that linux and even MacOS may be very similar to my main os FreeBSD. > > > > I do know Win32 is different, but how similar are the other os'ses? > > You can mostly assume that if it works for Linux, then it will work > for FreeBSD and all other BSDs and even Solaris (and vice-versa). > > This isn“t true for Mac OS X. Althought it is based on FreeBSD, it is > very, very different from standard unix boxes.
I see, this is very valuable information. > > Is there any code in the FCL or the like I can study for getting my > > ifdefs right? > > I used ifdefs to write two cross-platform projects: TTrayIcon > component and the Virtual Magnifying Glass. You can see their codes on > the internet. Since I'm dealing with non-visible, non-component code I'll try making portable units out of it. Maybe I'm coming back on this when the basics are done and the code using these units is in shape for building a component. Thank you very much, Marc _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal