"wim van hoydonck" <[EMAIL PROTECTED]> writes:

> On a Unix-like OS, you can execute "uname -m" to get the machine
> architecture (but this is probably not really portable to M$...):

Not even portable across systems of the same architecture nor
accurate. On IA32 (x86) you want to compile for i486 but uname will
say anything from i486 to i686 and even x86_64 given a 64bit kernel.

On the other hand using "dpkg-architecture" is way to debian specific.

Something inbetween is to ask the gcc. But then you are gcc
specific (Good enough for me).

MfG
        Goswin
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to