On Tue, Dec 12, 2017 at 12:29:08PM +0100, Thorsten Otto wrote:
On Dienstag, 12. Dezember 2017 10:45:10 CET Vincent Sanders wrote:
> I have failed to update the atari toolchains once again. They remain
> badly broken in that they:
> 1. cannot generate a working cross compiler on a modern Debian OS
> 2. compiled on an old OS they produce a broken SDK with OpenSSL 1.1
> 3. Are very old compilers which generate poor code, especialy for m68k
Both linux versions on my homepage (4.6.4 and 7.2) were compiled on a recent
SuSE distribution, so in general there should be not much problem doing the
same on recent Debian system. The scripts use a different directory layout
though than the one that your toolchains expect.
If i understand it right, your CI system uses a pre-compiled toolchain, so
this has to be done only once?
Our CI system builds the toolchains from source to ensure complete
reproducability for our releases.
Are the scripts that you use for automatic building are downloadable
somewhere? I could not find them.
The toolchain reposity http://source.netsurf-browser.org/toolchains.git/
contains the makefiles which construct a correctly patched set of
sources to generate a cross compiler and then build it.
In addition the libraries and tools necessary to cross compile the
browser are contained in a common SDK in the toolchains repo.
it should be as simple as:
git clone git://git.netsurf-browser.org/toolchains.git
mkdir -p /opt/netsurf
make -C m68k-atari-mint
>any assistance would be gratefully recieved.
Feel free to ask any questions. I can also try to compile the toolchain on a
debian jessie system running under VirtualBox.
if it works on SuSE that should just work elsewhere.
I have a branch vince/atari-gcc7 which is my current work in progress,
this gets a compiler built but crashes and burns at the mintlib stage
Once the cross environment is completely working the SDK build can be
GCCSDK_INSTALL_ENV=/opt/netsurf/m68k-atari-mint/env make -C sdk