[lazarus] Need opinion

Marc Weustink weus at quicknet.nl
Tue Oct 26 13:21:50 EDT 1999


At 09:39 26-10-99 -0500, Shane wrote:
>Oh, I didn't know Windows.pp existed already....
>
>I guess the best way around this then is to create a Linux.pp file and add a 
>
>{$IFDEF LINUX}
>uses blah blah, blah;
>{$ELSE}
>ues blah,windows,blah;
>{$ENDIF}

Don't like this idea.

>>>> Michael Van Canneyt <michael.vancanneyt at wisa.be> 10/26/99 08:41AM >>>
>
>But windows.pp already exists for Windows. Thus you must make a
replacement >file for linux only, and it should be compatible with the
existing win32 >windows.pp

Yes, the file exists, but why can't we use it for MSWindows as wal as Linux ?

>So any lazarus app compiles both on windows and linux, with a minimal
overhead...
>Although I think that on the level of lazarus (LCL) there should NEVER be a
>dependence on Windows or Linux. Just GTK/Qt/win32 for the low-level gui calls
>and sysutils or low-level classes for all other stuff.

So..... one file

Marc







More information about the Lazarus mailing list