Page 1 of 1

Compile on a Mac and test it on a PC

Posted: Sun Jan 22, 2006 12:00 am
by kenneth_phough
Is it possible to compile my kernel (which is written in C) with gcc for Mac OS X then move it to my Windows to test it?
Thanks in advanced
-Kenneth

Re: Compile on a Mac and test it on a PC

Posted: Mon Jan 23, 2006 12:00 am
by carbonBased
Which platform are you targetting? Apple or Intel?

--Jeff

Re: Compile on a Mac and test it on a PC

Posted: Mon Jan 23, 2006 12:00 am
by kenneth_phough
Intel.

Re: Compile on a Mac and test it on a PC

Posted: Mon Jan 23, 2006 12:00 am
by Da_Maestro
If you have GCC you should be able to compile for any target that it supports. Check out the command line options