-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build under Lubuntu #99
Comments
@TheFakeMontyOnTheRun I have tried to contact the author but he has not replied. I fear he may have abandoned this nice project. Someone has ported GCC for Amiga. It may be an alternative: https://github.com/bebbo/amiga-gcc Nevertheless I hope the author of this project pops up one day and helps us with this issue. |
This looks like there are 32bit C runtime libraries missing - only the 64bit variants are found (and skipped). Installing packages libc6-dev-i386 and lib32gcc-6-dev (speaking for Debian stretch, adjust for your version of *buntu) should get you a couple of steps further - but there may still be more libraries missing after that. |
Just yesterday, I got this one working: https://github.com/emartisoft/m68K-AmigaOS-cross-compiler-setup-script |
Thanks! " |
@TheFakeMontyOnTheRun I can build the cross compiler but no stdio lib is found. I was expecting some minimal lib support. Is this expected? |
Try switching the C runtime library (there are a few alternatives). |
@TheFakeMontyOnTheRun How? The help option does not help much but |
I've dug into this. It seems to be because we're running gcc 7 which doesnt like the -V option. |
I dug in even deeper. Seems (for me anyway) the compiler could produce 32 bit exe's but the system couldnt execute them. If you think this is your issue you can compile a hello world with -m32 |
I have a working build downloadable here for a while: built with the command below on Ubuntu 18.04 LTS on x86_64 ./toolchain-m68k --prefix=/opt/m68k-amigaos build 2>&1 | tee buildlog.txt I archived it with the following command if anyone needs it: jbilander@apollo:/opt$ sudo tar -czvf m68k-amigaos.tar.gz ./m68k-amigaos/ Unpack it in /opt and it should work on later Ubuntus as well I think, add the PATH last in your .bashrc or similar, like this export PATH="/opt/m68k-amigaos/bin:$PATH" after a new login, check with the "env" command you should have the correct PATH in there, early in the path. Hope it helps, -jb |
build.zip
I have also installed clang but I get the same problem.
I think my system fulfils all prerequisites but I have not been able to build the 68k tool-chain:
The text was updated successfully, but these errors were encountered: