Difference between revisions of "Installation OS4"
Jump to navigation
Jump to search
(Installation of AmigaOS4) |
m (m68k->powerpc) |
||
Line 17: | Line 17: | ||
=== Crosscompile from Linux === | === Crosscompile from Linux === | ||
− | This section describe how the freepascal compiler with all units can be created under a linux system. This could be important if you start without a working | + | This section describe how the freepascal compiler with all units can be created under a linux system. This could be important if you start without a working Free Pascal at Amiga. |
* A working linux system (CPU is not important, i386 and x64 tested other platform might work) | * A working linux system (CPU is not important, i386 and x64 tested other platform might work) | ||
Line 29: | Line 29: | ||
cd fpc | cd fpc | ||
</source> | </source> | ||
− | * Now everything is set for make the compiler, we choose <code>zipinstall</code> to create directly a packed version <code lang=shell>fpc-3.1.1. | + | * Now everything is set for make the compiler, we choose <code>zipinstall</code> to create directly a packed version <code lang=shell>fpc-3.1.1.powerpc-amiga.tar.gz</code> |
<source lang=text> | <source lang=text> | ||
make zipinstall CPU_TARGET=powerpc OS_TARGET=amiga | make zipinstall CPU_TARGET=powerpc OS_TARGET=amiga | ||
</source> | </source> | ||
* now you have a complete archive with the Amiga freepascal compiler with all units and some utilities | * now you have a complete archive with the Amiga freepascal compiler with all units and some utilities |
Revision as of 22:21, 8 May 2016
Installation of Free Pascal on a AmigaOS 4 machine
You need:
- an AmigaOS4 machine or emulated UAE
- OS 4.0 or better
- much RAM
- official AmigaOS4 SDK
- binary release of FPC-AmigaOS4
Installation
- Unpack the archive file to a folder where you like to have the installation
- Create an assign FreePascal: to the pp folder (for example in s:user-startup)
- Add the binary location to path Freepascal:bin/powerpc-amiga (for example in s:user-startup)
- if you do not want to create an assign you can also edit the fpc.cfg and fp.cfg and add your personal path directly there
Crosscompile from Linux
This section describe how the freepascal compiler with all units can be created under a linux system. This could be important if you start without a working Free Pascal at Amiga.
- A working linux system (CPU is not important, i386 and x64 tested other platform might work)
- A freepascal compiler for this linux (Version = 3.0) (e.g. at Ubuntu/Debian
apt-get install fpc
) - You need a the AmigaOS4 binutils (TODO: source/manual)
- Get the latest freepascal source
- via svn: svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc
- via zip: from the Freepascal Development Page
- A folder fpc is created with the sources inside, change to the folder
cd fpc
- Now everything is set for make the compiler, we choose
zipinstall
to create directly a packed versionfpc-3.1.1.powerpc-amiga.tar.gz
make zipinstall CPU_TARGET=powerpc OS_TARGET=amiga
- now you have a complete archive with the Amiga freepascal compiler with all units and some utilities