On Thu, May 04, 2006 at 09:37:49AM +0200, [EMAIL PROTECTED] wrote:
> With scons, you just have to install python and scons and thats it.
> You build your project with only one command, on every platform, and better 
> with the same SConstruct file.
> The tweak to diferenciate platform is reduce to a minimum and can be resume to
> if os.platform == 'win32':
>   blabla
> elif os.platform == 'linux2':
>   etc...
> Very clean.

Back to Imakefiles...

This is pretty much the worst approach that could be taken.

One always has to check for features, not for platforms.

So for e.g. finding a C compiler you have something like

 if os.platform == 'win32':
   cc = cl
 elif os.platform == 'linux2':
   cc = gcc

in mind?

> I use to build a library for windows using the VC++6 and on Debian with gcc.

Whohaey. So 'multiplatform' means 'runs on one Unix flavour (Linux, no
less...) and WinNT'?  This is the kind of thing I would use a manual
Makefile for.

This pretty much looks like you are underestimating the issues

> With scons, the command is the same on both platform. Just type scons
> and that's it.  Thanks to wine I can now compile my library with VC++6
> without reboorting my computer.

And six years ago one would have setup a gcc cross compiler and only
checked the resulting .exe in wine.

Andre'

Reply via email to