Update BuildingCrossDev.md

This commit is contained in:
alpine9000
2016-03-04 11:23:14 +11:00
parent 3ab7d032f1
commit 596384982c
+22 -9
View File
@@ -4,9 +4,22 @@ installing the cross development environment
Built on OSX 10.11.3
Notes:
* My /usr/local is writable by me. You will probable need to add "sudo" to any "make install" lines
* I have gcc-5.3.0 installed in /usr/local
* You can probably install most of this stuff using a package system rather than building from sources
0. The fantastic AmigaOS cross compiler for Linux / MacOSX / Windows
0. gcc-5.3.0 for OSX
```
# svn checkout svn://gcc.gnu.org/svn/gcc/tags/gcc_5_3_0_release gcc-5.3.0-src
# cd gcc-5.3.0-src
# ./contrib/download_prerequisites
# cd ..
# mkdir gcc-5.3.0-build
# cd gcc-5.3.0-build
# ../gcc-5.3.0-src/configure --prefix=/usr/local --enable-languages=c,c++
# make -j4
# make install
```
1. The fantastic AmigaOS cross compiler for Linux / MacOSX / Windows
https://github.com/cahirwpz/amigaos-cross-toolchain
@@ -16,7 +29,7 @@ Notes:
# ./toolchain-m68k --prefix=/usr/local/amiga build
```
1. autoconf
2. autoconf
```
# curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
# tar xzf autoconf-2.69.tar.gz
@@ -26,7 +39,7 @@ Notes:
# make install
```
2. automake
3. automake
```
# curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz
# tar xzf automake-1.15.tar.gz
@@ -36,7 +49,7 @@ Notes:
# make install
```
3. pkg-config
4. pkg-config
```
# curl -OL https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz
# tar zxf pkg-config-0.29.tar.gz
@@ -46,7 +59,7 @@ Notes:
# make install
```
4. lha
5. lha
```
# git clone https://github.com/jca02266/lha.git
# aclocal
@@ -58,7 +71,7 @@ Notes:
# make install
```
5. libtool
6. libtool
```
# wget http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
# tar zxfv libtool-2.4.6.tar.gz
@@ -68,7 +81,7 @@ Notes:
# make install
```
6. libpng
7. libpng
```
# wget ftp://ftp.simplesystems.org/pub/png/src/libpng16/libpng-1.6.21.tar.gz
# tar zxfv libpng-1.6.21.tar.gz
@@ -78,7 +91,7 @@ Notes:
# make install
```
7. pngquant
8. pngquant
```
# git clone git://github.com/pornel/pngquant.git
# cd pngquant/lib