./Game

Sage
Posts: 1,403
Joined: 2005.07
Post: #16
Wierd I typed chdir in the terminal, is says command not found so I didnt bother doing man chdir, but there is man files for it? Cool Ill read them thanks.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Member
Posts: 370
Joined: 2002.04
Post: #17
The man pages describe more than just the terminal - they also have information regarding system calls, the C library, and any other packages that you may have installed. You also might need to do a man 2 chdir, as just a man chdir redirects you to the bash manual which is not what you want.

Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #18
SDL_main.m holds some OSX specific stuff for launching the program including setting the launch path. It's part of the Xcode template for SDL. That file is compiled into libSDLmain so that SDL programs built from the command line will also work correctly.
Quote this message in a reply
Post Reply