AROS World Exec
Development => Development (General) => Topic started by: el-topo on January 14, 2019, 02:44:42 AM
-
Hi!
I wanted to play around with the AROS 64-bit sdk on Linux so I installed it and all went fine. However, when I try to compile a hello world program the linker indicates that some stuff is missing, "-lposixc, -lstdcio, -lstdc, -lcodesets ..." and so on. I read a guide on Sourceforge that indicated I should get some i386-all stuff but is that information still accurate and does it work with my 64-bit system?
-
I wish I could help.
-
el-topo, have you tried the gimmearos script?
http://archives.aros-exec.org/index.php?function=showfile&file=development/cross/scripts.zip
It might not support the x86-64 AROS build, but it should hopefully help in setting up a development environment.
-
el-topo, have you tried the gimmearos script?
http://archives.aros-exec.org/index.php?function=showfile&file=development/cross/scripts.zip
It might not support the x86-64 AROS build, but it should hopefully help in setting up a development environment.
I'm not el-topo, but here is what i get when following this link:
You have tried to access a file that doesn't exist on this server.
The file you are looking for might have changed places or it might have been removed.
Please contact the referer to get the link updated.
In the whole http://archives.aros-exec.org doen't exist x86_64 toolchains for MS Windows or Linux, except one: i386 AROS cross-gcc for MinGW64/x86-64 (http://archives.aros-exec.org/index.php?function=comments&file=development/cross/i386-aros-gcc-4.5.2-mingw64-bin.zip#1)
The problem is that this toolchain is incomplete:
$ ls /usr/local/amiga/i386-aros/bin/
c++.exe collect-aros.exe g++.exe gcc.exe
$ ls /usr/local/amiga/bin/ | grep aros
i386-aros-c++.exe
i386-aros-cpp.exe
i386-aros-g++.exe
i386-aros-gcc.exe
i386-aros-gcc-4.5.2.exe
i386-aros-gccbug
i386-aros-gcov.exe
example for comparison:
$ ls /usr/local/amiga/bin/ | grep ppc-amigaos
ppc-amigaos-addr2line.exe
ppc-amigaos-ar.exe
ppc-amigaos-as.exe
ppc-amigaos-c++.exe
ppc-amigaos-c++filt.exe
ppc-amigaos-cpp.exe
ppc-amigaos-elfedit.exe
ppc-amigaos-g++.exe
ppc-amigaos-gcc.exe
ppc-amigaos-gcc-8.4.0.exe
ppc-amigaos-gcc-ar.exe
ppc-amigaos-gcc-nm.exe
ppc-amigaos-gcc-ranlib.exe
ppc-amigaos-gcov.exe
ppc-amigaos-gcov-dump.exe
ppc-amigaos-gcov-tool.exe
ppc-amigaos-gprof.exe
ppc-amigaos-ld.bfd.exe
ppc-amigaos-ld.exe
ppc-amigaos-nm.exe
ppc-amigaos-objcopy.exe
ppc-amigaos-objdump.exe
ppc-amigaos-ranlib.exe
ppc-amigaos-readelf.exe
ppc-amigaos-size.exe
ppc-amigaos-strings.exe
ppc-amigaos-strip.exe
Therefore local compilation for AROS isn't possible, since there are no files i386-aros-as.exe, i386-aros-ld.exe at least. No one needs to install virtual machines or docker for themselves. And there is no documentation. There was one article that was written well, this "A pre-configured development machine for AROS (http://vmwaros.blogspot.com/2019/10/a-pre-configured-development-machine.html)", but her main link is broken (http://mirrors.lezard-visuel.com/icaros/dev/AROS64-DevE01_v001.7z). Nothing like "How to build AmigaOS4 cross-compiler (Binutils 2.23.2 & GCC 8.3.0) on CYGWIN (https://os4coding.net/blog/kas1e/how-build-amigaos4-cross-compiler-binutils-2232-gcc-830-cygwin)". I noticed that even http://amidevcpp.amiga-world.de is dead. :o I have not kept this distribution. :(
It's clear that no one is personally to blame for this. However not everyone will compile from github, when apparently x86_64 is simply not supported. :(
-
You are right, the link to amidevcpp IDE is dead but you can still download the install file from the web archive:
https://web.archive.org/web/20160531103718if_/http://amidevcpp.amiga-world.de/AmiDevCpp/AmiDevCpp_graceful_Bulldozer_v098_Setup.exe (https://web.archive.org/web/20160531103718if_/http://amidevcpp.amiga-world.de/AmiDevCpp/AmiDevCpp_graceful_Bulldozer_v098_Setup.exe)
If you are on Windows or Linux with Wine this is probably the fastest and working setup to develop apps for AROS x86 ABIv0. At least I was able to compile a hello world without much fuss and tested no problem on the hosted env.
-
You are right, the link to amidevcpp IDE is dead but you can still download the install file from the web archive:
https://web.archive.org/web/20160531103718if_/http://amidevcpp.amiga-world.de/AmiDevCpp/AmiDevCpp_graceful_Bulldozer_v098_Setup.exe (https://web.archive.org/web/20160531103718if_/http://amidevcpp.amiga-world.de/AmiDevCpp/AmiDevCpp_graceful_Bulldozer_v098_Setup.exe)
Thank you! I think it's useful.
If you are on Windows or Linux with Wine this is probably the fastest and working setup to develop apps for AROS x86 ABIv0. At least I was able to compile a hello world without much fuss and tested no problem on the hosted env.
I also remember that it worked, but.. I download and extracted this archive.
$ cd AmiDevCpp_graceful_Bulldozer_v098_Setup/usr/local/amiga/bin
$ file x86_64-aros-gcc.exe
x86_64-aros-gcc.exe: PE32 executable (console) Intel 80386, for MS Windows
very nice
$ cat AmiDevCpp_graceful_Bulldozer_v098_Setup/examples/Aros(x86)/ElizaAI/Eliza.readme | grep Submitter
aGGreSSor^tPA
and yet it works. just copy /usr/local/amiga from AmiDevCpp to directory /usr/local/amiga in modern cygwin64
There just are dll-libraries from the old cygwin32 in /usr/local/amiga/bin.
$ i386-aros-gcc.exe --version
i386-aros-gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Not so bad. :)
-
There was one article that was written well, this "A pre-configured development machine for AROS (http://vmwaros.blogspot.com/2019/10/a-pre-configured-development-machine.html)", but her main link is broken (http://mirrors.lezard-visuel.com/icaros/dev/AROS64-DevE01_v001.7z).
Now it's fixed. Thanks for pointing this and sorry for takeing so much time.
-
Now it's fixed. Thanks for pointing this and sorry for takeing so much time.
Thank you!
I think (thoughts out loud), what is the nonsense going on with the naming of distributions of programs for aros.
How should the user understand the prefix .x86_64-aros ? This is ABI_V0 or ABI_WIP?
And why ABI_V1 actually called ABI_WIP in About window?
-
And why ABI_V1 actually called ABI_WIP in About window?
To show that this ABI is not stable. V1 is ment to represent a stable ABI, which current ABI for x86_64 is not declared to be.