On Mon, 04 Dec 2006 22:07:26 -0500
Lee <[EMAIL PROTECTED]> wrote:

> Lee wrote:
> > 
> > Hi all,
> > 
> > If I'm writing my code on Windows and want to compile it on linux
> > are there are other specifications I should be aware of other than
> > what is listed here?:
> > 
> > http://wiki.lazarus.freepascal.org/Cross_compiling
> > 
> > I opened the lpi file for my project in notepad and noticed that it
> > used Windows styles paths "\" to point to linked units, etc.  Do I
> > need to change those or will Lazarus on linux do some magic for
> > me? ;)
> > 
> > Thanks again,
> 
> Disregard.  I have copied over my windows files and changed the unit 
> search path/s and it compiles nicely.  Very cool.

FYI:
The IDE saves the used path delimiter in the .lpi and when opened under
a OS with a different path delimiter all filesnames are changed
(by calling SetDirSeparator).
Basically this means: The .lpi (.lpk, ...) files are platform
independent. 


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to