amiga-gcc icon indicating copy to clipboard operation
amiga-gcc copied to clipboard

Docker container issues - proposals

Open walkero-gr opened this issue 2 years ago • 2 comments

I am trying to setup a dev environment based on the Dockerfile in the repo. Unfortunately, when I try to compile even a hello world code, I get the following error

/opt/amiga/libexec/gcc/m68k-amigaos/6.5.0b/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory

Also, I would recommend two changes:

  • At line 16 to add the number of threads after -j (https://github.com/bebbo/amiga-gcc/blob/master/Dockerfile#L16), i.e. 4, because like that it gets all the cores, and then gets all the memory and and swap memory on systems, until it makes it unusable
  • Add /opt/amiga/bin in PATH, with something like ENV PATH="/opt/amiga/bin:$PATH" added at the end of the dockerfile

walkero-gr avatar Jul 05 '22 11:07 walkero-gr

The environment to use the created binaries has to provide all necessary libraries.

bebbo avatar Jul 09 '22 12:07 bebbo

bump

bebbo avatar Aug 17 '22 18:08 bebbo