Not use platform specific code is a basic precaution. I, at least, have this
precept always in mind...
----- Original Message -----
From: "Tony Maro" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 24, 2005 12:03 PM
Subject: Re: [lazarus] Compiling app Linux
Arí Ricardo Ody wrote:
Steps:
1. Copy the source for your app to the other os. (for example use the
publish project menu item)
2. Open the project in lazarus on the other os.
3. Compile
Vincent.
This explanation is more in accordance with the slogan "Write once,
compile everywhere"... Or not?
That's the thing with Lazarus - if you make sure to not use platform
specific code (such as the "windows" unit!) it should compile just as well
on multiple platforms without change.
Sometimes you have to get platform specific, but that's why there's
{$ifdef win32}{$endif} directives.
-Tony
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives