Compile on a Mac and test it on a PC

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
kenneth_phough
Member
Member
Posts: 106
Joined: Sun Sep 18, 2005 11:00 pm
Location: Williamstown, MA; Worcester, MA; Yokohama, Japan
Contact:

Compile on a Mac and test it on a PC

Post 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
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

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

Post by carbonBased »

Which platform are you targetting? Apple or Intel?

--Jeff
User avatar
kenneth_phough
Member
Member
Posts: 106
Joined: Sun Sep 18, 2005 11:00 pm
Location: Williamstown, MA; Worcester, MA; Yokohama, Japan
Contact:

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

Post by kenneth_phough »

Intel.
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

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

Post 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
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
Post Reply