| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jan 14, 2007
Posts: 101
![]() Mac Specs: 1.67ghz powerbook G4, 1GB RAM, 100GB HD.
|
I downloaded a linux app today (http://galaxyhack.sourceforge.net/download.php)
with the source code. I'm under the impression that I can compile it under mac OSX 10.4.8 and then run it. How do I go about this? I took a look in Xcode, but I didnt know what sort of project I should choose (command line C++? Cocoa ?). All I need to do is compile the code. Thanks
|
| QUOTE Thanks | |
![]() Member Since: Jun 06, 2006
Posts: 1,153
![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook 2.0GHz White, 512MB RAM, 60GB HDD
|
Looking at it, you should just go into the galaxyhack/src directory in Terminal and type 'make'. Of course, this depends on having all the libraries listed on the requirements page installed somewhere it can find then, which could be more problematic. I used Fink to get them.
In general, building stuff in XCode is very different from building linux apps the traditional linux way. Linux, BSD and the other free unixes don't have the same package and library structure as OS X so, while it is possible to create the project to build in XCode, it requires you to understand SDL for OS X's packaging. |
| QUOTE Thanks | |
![]() Member Since: Apr 29, 2006
Location: St. Somewhere
Posts: 4,553
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM
|
With this in place, you should just be able to do the usual [./configure, make, make install] routine. The fly in the ointment will be if it depends on libraries for Gnome, KDE or something else you don't yet have. You may be in "dependency ****" ... don't know this application so I can't say. The stuff I built was all dependant only on curses, which is installed by default, so I was OK. My Macs: iMac 27" 3.4 GHz, 4 Core, Mac Pro, 3.2 GHz 8 Core, PowerMac G5 Quad, 2.5 GHz, G4 Cube, 1.2 GHz Upgrade My iStuff: 32 GB iPhone 4, 30 GB iPod Video, 16 GB iPod Touch My OS': Mac OS X Tiger, Mac OS X Snow Leopard, Mac OS X Leopard, Mac OS 8.6, openSUSE 10.3, Win XP I was on the Mac-Forums honor roll for September 2007 |
||||
| QUOTE Thanks | |||||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Switcher Article in Today's Times | studio34 | Switcher Hangout | 9 | 08-11-2006 03:10 PM |
| Linux install on "OldWorld" mac. | jhelm007 | Running Windows (or anything else) on your Mac | 2 | 12-07-2005 09:11 PM |
| will the fastest mac mini run final cut pro, dvd stuido pro, cs2, etc.. | itbejack | Apple Desktops | 3 | 08-18-2005 12:54 PM |
| OSX apps on PPC linux? | MadSkillzMan | Switcher Hangout | 6 | 06-07-2005 04:20 AM |
| Mac Users Get More ISP Choices | schweb | Apple Rumors and Reports | 1 | 03-06-2003 10:57 AM |
All times are GMT -4. The time now is 02:52 AM.
Powered by vBulletin