mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-13 07:23:18 +00:00
Doc updates
This commit is contained in:
@@ -0,0 +1,90 @@
|
||||
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
|
||||
|
||||
0. The fantastic AmigaOS cross compiler for Linux / MacOSX / Windows
|
||||
|
||||
https://github.com/cahirwpz/amigaos-cross-toolchain
|
||||
|
||||
```
|
||||
# git clone git://github.com/cahirwpz/amigaos-cross-toolchain.git
|
||||
# cd amigaos-cross-toolchain
|
||||
# ./toolchain-m68k --prefix=/usr/local/amiga build
|
||||
```
|
||||
|
||||
1. autoconf
|
||||
```
|
||||
# curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
|
||||
# tar xzf autoconf-2.69.tar.gz
|
||||
# cd autoconf-2.69
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
2. automake
|
||||
```
|
||||
# curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz
|
||||
# tar xzf automake-1.15.tar.gz
|
||||
# cd automake-1.15
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
3. pkg-config
|
||||
```
|
||||
# curl -OL https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz
|
||||
# tar zxf pkg-config-0.29.tar.gz
|
||||
# cd pkg-config-0.29
|
||||
# ./configure --with-internal-glib --prefix=/usr/local LDFLAGS="-framework CoreFoundation -framework Carbon"
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
4. lha
|
||||
```
|
||||
# git clone https://github.com/jca02266/lha.git
|
||||
# aclocal
|
||||
# autoheader
|
||||
# automake -a
|
||||
# autoconf
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
5. libtool
|
||||
```
|
||||
# wget http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
|
||||
# tar zxfv libtool-2.4.6.tar.gz
|
||||
# cd libtool-2.4.6
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
6. libpng
|
||||
```
|
||||
# wget ftp://ftp.simplesystems.org/pub/png/src/libpng16/libpng-1.6.21.tar.gz
|
||||
# tar zxfv libpng-1.6.21.tar.gz
|
||||
# cd libpng-1.6.21
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
7. pngquant
|
||||
```
|
||||
# git clone git://github.com/pornel/pngquant.git
|
||||
# cd pngquant/lib
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# mkdir /usr/local/include/pngquant
|
||||
# cp *.h /usr/local/include/pngquant/
|
||||
# cp *.a /usr/local/lib
|
||||
```
|
||||
@@ -23,96 +23,17 @@ documentation
|
||||
|
||||
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
|
||||
|
||||
0. The fantastic AmigaOS cross compiler for Linux / MacOSX / Windows
|
||||
These examples are developed on a mac using the fantastic AmigaOS cross compiler for Linux / MacOSX / Windows.
|
||||
|
||||
https://github.com/cahirwpz/amigaos-cross-toolchain
|
||||
|
||||
```
|
||||
# git clone git://github.com/cahirwpz/amigaos-cross-toolchain.git
|
||||
# cd amigaos-cross-toolchain
|
||||
# ./toolchain-m68k --prefix=/usr/local/amiga build
|
||||
```
|
||||
|
||||
1. autoconf
|
||||
```
|
||||
# curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
|
||||
# tar xzf autoconf-2.69.tar.gz
|
||||
# cd autoconf-2.69
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
The support tools I have developed have additional requirements which you may not have on your system.
|
||||
|
||||
2. automake
|
||||
```
|
||||
# curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz
|
||||
# tar xzf automake-1.15.tar.gz
|
||||
# cd automake-1.15
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
3. pkg-config
|
||||
```
|
||||
# curl -OL https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz
|
||||
# tar zxf pkg-config-0.29.tar.gz
|
||||
# cd pkg-config-0.29
|
||||
# ./configure --with-internal-glib --prefix=/usr/local LDFLAGS="-framework CoreFoundation -framework Carbon"
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
4. lha
|
||||
```
|
||||
# git clone https://github.com/jca02266/lha.git
|
||||
# aclocal
|
||||
# autoheader
|
||||
# automake -a
|
||||
# autoconf
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
5. libtool
|
||||
```
|
||||
# wget http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
|
||||
# tar zxfv libtool-2.4.6.tar.gz
|
||||
# cd libtool-2.4.6
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
6. libpng
|
||||
```
|
||||
# wget ftp://ftp.simplesystems.org/pub/png/src/libpng16/libpng-1.6.21.tar.gz
|
||||
# tar zxfv libpng-1.6.21.tar.gz
|
||||
# cd libpng-1.6.21
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# make install
|
||||
```
|
||||
|
||||
7. pngquant
|
||||
```
|
||||
# git clone git://github.com/pornel/pngquant.git
|
||||
# cd pngquant/lib
|
||||
# ./configure --prefix=/usr/local
|
||||
# make
|
||||
# mkdir /usr/local/include/pngquant
|
||||
# cp *.h /usr/local/include/pngquant/
|
||||
# cp *.a /usr/local/lib
|
||||
```
|
||||
For a dump of what I did to install them see [installing the cross development environment](BuildingCrossDev.md)
|
||||
|
||||
building
|
||||
========
|
||||
--------
|
||||
|
||||
Build all examples by running ``make`` at the top level directory.
|
||||
|
||||
@@ -126,7 +47,7 @@ Invdivual examples can be built by entering the directory and running make:
|
||||
```
|
||||
|
||||
tools
|
||||
=====
|
||||
-----
|
||||
The following tools have been developed to support the examples:
|
||||
|
||||
* [imagecon](tools/imagecon)
|
||||
|
||||
Reference in New Issue
Block a user