Compiling option for LinuxPPC

Geert Uytterhoeven Geert.Uytterhoeven at cs.kuleuven.ac.be
Fri Feb 5 02:38:14 EST 1999


On Thu, 4 Feb 1999, Andreas wrote:
> does under LinuxPPC a compiler option /preprocessor symbol exist in the manner
> as it does under FreeBSD?
> 
> i.e. __FreeBSD__ or in LinuxPPC __LinuxPPC__??

defined(__linux__) && defined(__powerpc__)

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven at cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list