Re: [hatari-devel] Preliminary Hatari 1.7.0 OSX Build Example

[ Thread Index | Date Index | More Archives ]

I absolutly need to make a working MacOsX build configuration....
But tonight, the mercurial repo is dead (http error 500)...

Le 25/06/13 20:59, David Savinkoff a écrit :
Example Hatari Building 'How To' Guideline for OSX
(must be modified for OSX use)

Here is how I make a tarball:
- Install Mercurial
- Create a directory called HG in your home directory.
- Copy this '' script into the HG directory:


if [ "$1" = "clone" ]
   hg clone
   cd hatari
   hg pull
   hg update
   hg archive -r tip -t tbz2 ../%b.%r.tar.bz2 -X ".hg*"

read -s -n 1 -p "Press any key to close . . ."

- make the script executable
- execute './ clone' to get Hatari the first time.
- for all subsequent tarballs double-click on

Extract tarball for Hatari source.

Here is how I compile Hatari in Linux:
- Create a directory named 'Build.0000' in the 'hatari' source directory.
- cd (change directory) to Build.0000
- From the command line in 'hatari/Build.0000' type something like:
cmake -DCMAKE_C_FLAGS:STRING="-march=pentium3 -O3 -pipe -Wl,--as-needed" -DCMAKE_INSTALL_PREFIX=/home/User/HATARI ..
- Then type:
make install/strip
- Execute hatari with:

Note that -march=pentium3 (see above) compiles for a pentium3. Select
this appropriately.
Also; replace /home/User/HATARI with your selected, or home directory.

Mail converted by MHonArc 2.6.19+