walkero-gr / amigagccondocker Goto Github PK
View Code? Open in Web Editor NEWGCC Development environments using Docker
License: GNU General Public License v3.0
GCC Development environments using Docker
License: GNU General Public License v3.0
If you switch to the amidev
user using su - amidev
(start the shell as a login shell, like a real login), it is missing /opt/ppc-amigaos/bin
in PATH.
Just using su amidev
(using root's environment) has the correct PATH.
Maybe we should set the correct PATH in amidev
's .profile file.
I might well be doing something wrong but I've attached a log of what happens when I try to run make with the following options:
make GCC=11 CLIB2_REPO=afxgroup build
In the resulting container gcc will not run with the following error, which I don't really know is related to the build issues or not:
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
Hi,
The SDK installer creates a number of symlinks from clib2/lib to newlib/lib. These are missing in the docker image.
That means that trying to link with libamiga.a will fail for newlib and a few other issues.
This script should fix the issue:
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libamiga.a /opt/sdk/ppc-amigaos/newlib/lib/
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libamiga.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libamiga.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libdebug.a /opt/sdk/ppc-amigaos/newlib/lib/
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libdebug.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/clib2/lib/libdebug.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/crtbegin.o /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/crtend.o /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/crtend.o /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libauto.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libauto.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libc.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libm.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libm.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/librauto.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/librauto.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libsocket.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libsocket.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libunix.a /opt/sdk/ppc-amigaos/newlib/lib/baserel/
ln -s /opt/sdk/ppc-amigaos/newlib/lib/libunix.a /opt/sdk/ppc-amigaos/newlib/lib/small-data/
/opt/sdk/ppc-amigaos/local/newlib/bin/
should be added to PATH to make sdl-config and sdl2-config to work.
This is needed to compile xrick for example as it uses sdl-config to find SDL.
sdl-config and sdl2-config should be executable. And both files need to be updated to point to the correct prefix:
chmod 755 /opt/sdk/ppc-amigaos/local/newlib/bin/*
sed -i 's/^prefix=.*/prefix=\/opt\/sdk\/ppc-amigaos\/local\/newlib/' /opt/sdk/ppc-amigaos/local/newlib/bin/sdl*config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.