Skip to main content
gamedev.net
🔒 Locked

UNIX?

Started by TriSwords 9 replies 850+ views
Original Post
TriSwords
TriSwords
My C programming course uses UNIX to run code. I am running Windows XP, but is there any ways I can get something to run a little unix os simulation to check my code and all that?
Zorak
Zorak
Get yourself a unix shell somewhere.
Domine non secundum peccata nostra facias nobis
SKATIN_HARD
SKATIN_HARD
You mean something like this. It's all I can think of now.

Edit: A shell account probably is the best way to go. You should be able to get a good free one somewhere.
Tron3k
Tron3k
I think the Super Dimension Fortress has free shell accounts.
“[The clergy] believe that any portion of power confided to me, will be exerted in opposition to their schemes. And they believe rightly: for I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man” - Thomas Jefferson
Will F
Will F
As long as you're not calling any functions that aren't standard C you probably won't have any problems. Write the code on your windows machine, compile it and test it. Once it's working, put the source code on a floppy disk, go to your course's computer lab and compile it on that machine - the app should behave the same.

Otherwise you could get a linux live CD and run the OS off the CDROM (make sure that the live cd has the gcc compiler on it though).
Diodor
Diodor
They always gave us Linux accounts that we could have connected to by ssh or telnet from our windows boxes at home. Of course, knowing a shell based editor like Emacs helps a great deal with this approach.

You could also buy a MiniMac as that has a Unix inside.
TriSwords
TriSwords
Thats what I needed, thanks.

-TS
flangazor
flangazor
PuTTY and a shell account is the correct solution. You should learn unix on a professionally administered network rather than learn to use and administer at the same time, imo. Ergo, don't use cygwin or setup Linux just to learn to use Unix.
Spoonbender
Spoonbender
*Shrug* Most likely, you won't need to use anything other than the standard library, which means you can compile and run it on your Windows system too.
crusadingknight
crusadingknight
Grab Bochs, and install the MINIX disk image, which comes with a minimal compiler (cc, of course). That should fill all your needs for basic stuff, unless you need to install more libraries, etc.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.