mirror of
https://frontier.innolan.net/github/amigaos-cross-toolchain6.git
synced 2024-10-19 10:29:55 +00:00
Merge branch 'master' into devel1
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
AmigaOS cross compiler for Linux / Windows ( OSX not working atm)
|
||||
AmigaOS cross compiler for Linux / Windows
|
||||
===
|
||||
|
||||
**THIS IS A FORK OF https://github.com/cahirwpz/amigaos-cross-toolchain - great thanks to [Krystian Bacławski](mailto:krystian.baclawski@gmail.com) **
|
||||
THIS IS A FORK OF https://github.com/cahirwpz/amigaos-cross-toolchain - great thanks to [Krystian Bacławski](mailto:krystian.baclawski@gmail.com) - but do not bother him with the changes made here!
|
||||
|
||||
### What's different here?
|
||||
|
||||
* Main focus is getting gcc 6 to work,
|
||||
* for AmigaOS with Motorola CPUs.
|
||||
* I am testing with Windows Cygwin 32 bit and Linux 32 bit (e.g. Xubuntu, CentOS, ...).
|
||||
* All other stuff might work or not and I neither know nor care about for now.
|
||||
* I am testing with Windows Cygwin 32 bit, Ubuntu 32/64 bit and CentOs 64 bit.
|
||||
* current version is quite usable.
|
||||
|
||||
**Author:** [Krystian Bacławski](mailto:krystian.baclawski@gmail.com) - check out https://github.com/cahirwpz/amigaos-cross-toolchain for a stable toolchain.
|
||||
|
||||
**Contributor:** [Stefan "Bebbo" Franke](mailto:bebbo@bejy.net) - wasting my time with newer binutils and gcc 6.3.
|
||||
**Contributor:** [Stefan "Bebbo" Franke](mailto:bebbo@bejy.net)
|
||||
|
||||
**Donations?** <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YRRBRLCKDU3H6">
|
||||
<img src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" border="0" alt="Donate with PayPal.">
|
||||
</a>
|
||||
|
||||
|
||||
### Overview
|
||||
|
||||
@@ -55,11 +59,16 @@ I am using funny symbols in my commits:
|
||||
* @D : debugging related changes
|
||||
* @C : comments added / remove / changed
|
||||
* @S : see submodule
|
||||
* @T : test related
|
||||
* @V : version stuff
|
||||
|
||||
|
||||
### Downloads
|
||||
|
||||
There are no binary downloads provided for the time being. I do as much as possible to make the toolchain portable among Unix-like environments.
|
||||
There is one download available now:
|
||||
|
||||
[amiga-toolchain-centos.tgz](http://franke.ms/download/amiga-toolchain-centos.tgz) - built for /opt/amiga (mandatory path!)
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
|
||||
+1
-1
Submodule submodules/gcc-6 updated: aea30fb817...bdc1872397
+12
-12
@@ -529,24 +529,24 @@ def _build(pull):
|
||||
unpack('{libamiga}', top_dir='.')
|
||||
install_libamiga()
|
||||
|
||||
configure('{libnix}',
|
||||
'--prefix={prefix}/{target}/libnix',
|
||||
'--host=i686-linux-gnu',
|
||||
'--target=m68k-amigaos',
|
||||
from_dir='{submodules}/{libnix}')
|
||||
make('{libnix}',
|
||||
CC='m68k-amigaos-gcc',
|
||||
with env(CC=CC, CXX=CXX, CFLAGS=FLAGS, CXXFLAGS=FLAGS):
|
||||
make('{gcc}', 'all-target-libgcc', MAKEINFO='makeinfo', CFLAGS_FOR_TARGET='-noixemul -Ofast')
|
||||
make('{gcc}', 'install-target-libgcc', MAKEINFO='makeinfo', CFLAGS_FOR_TARGET='-noixemul -Ofast')
|
||||
|
||||
with env(CC='m68k-amigaos-gcc',
|
||||
CPP='m68k-amigaos-gcc -E',
|
||||
AR='m68k-amigaos-ar',
|
||||
AS='m68k-amigaos-as',
|
||||
RANLIB='m68k-amigaos-ranlib',
|
||||
LD='m68k-amigaos-ld')
|
||||
LD='m68k-amigaos-ld'):
|
||||
configure('{libnix}',
|
||||
'--prefix={prefix}/{target}/libnix',
|
||||
'--host=i686-linux-gnu',
|
||||
'--target=m68k-amigaos',
|
||||
from_dir='{submodules}/{libnix}')
|
||||
make('{libnix}')
|
||||
make('{libnix}', 'install')
|
||||
|
||||
with env(CC=CC, CXX=CXX, CFLAGS=FLAGS, CXXFLAGS=FLAGS):
|
||||
make('{gcc}', 'all-target-libgcc', MAKEINFO='makeinfo', CFLAGS_FOR_TARGET='-noixemul -Ofast')
|
||||
make('{gcc}', 'install-target-libgcc', MAKEINFO='makeinfo', CFLAGS_FOR_TARGET='-noixemul -Ofast')
|
||||
|
||||
copy('{submodules}/{libnix}/sources/headers/stabs.h',
|
||||
'{prefix}/{target}/libnix/include')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user