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

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


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

Jerome
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 'HG.pull.update.archive.sh' script into the HG directory:

#!/bin/sh

if [ "$1" = "clone" ]
then
   hg clone http://hg.tuxfamily.org/mercurialroot/hatari/hatari
else
   cd hatari
   hg pull
   hg update
   hg archive -r tip -t tbz2 ../%b.%r.tar.bz2 -X ".hg*"
fi

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

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

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:
/home/User/HATARI/bin/hatari

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+ http://listengine.tuxfamily.org/