AROS World Exec

General => Help => Topic started by: serk118uk on June 28, 2020, 06:59:58 AM

Title: cross-compiling
Post by: serk118uk on June 28, 2020, 06:59:58 AM
Hi all,

I am trying to clone a library for aros but I need a compiler with ide with similar way how stormC used to do like step by step run and show pointers like if they are doing the jobs.

So what's the best way to do this on windows..
Title: Re: cross-compiling
Post by: amigamia on June 29, 2020, 02:23:56 PM
Long time ago there used to be a customized version of DevCPP called AmiDevCPP which was a full IDE with cross compiling options for Amiga 68K, and AROS if I recall. Too bad it has not been maintained for a long time and the download page is gone. You can, however still download it from the Archives. You may be able to use it?

http://eab.abime.net/showthread.php?t=93777 (http://eab.abime.net/showthread.php?t=93777)
Title: Re: cross-compiling
Post by: sandman187 on November 25, 2020, 06:00:58 PM
https://franke.ms/amiga/gcc.wiki
Title: Re: cross-compiling
Post by: aGGreSSor on November 26, 2020, 12:49:08 AM
Hi all,

I am trying to clone a library for aros but I need a compiler with ide with similar way how stormC used to do like step by step run and show pointers like if they are doing the jobs.

So what's the best way to do this on windows..
I don't know why you need any special IDE. For small projects like a library, a Notepad++ (https://notepad-plus-plus.org/downloads/) is enough. For large projects, you can take something in JetBrains (https://ru.wikipedia.org/wiki/JetBrains).
The compiler has nothing to do with this. What you really need is called toolchain. You can build it or download it from archive.aros-exec.org (http://archives.aros-exec.org/index.php?function=browse&cat=development/cross).
I commented a lot there about what works and what doesn't. :)

In the same place, you need a Linux-like environment in Windows for convenient use gcc and other. I use cygwin (https://cygwin.com/install.html).
There is an excellent guide for cross-platform development for AmigaOS 4: 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)
This is just adapting for cross-compilation purpose in i386-aros. That's exactly what I did.

Only please, when you upload your builds, write the architecture (like i386-aros, x86_64-aros, etc) in the archive name as adequate people do.  ::)
and it is also advisable to write in the field "Requirements" what ABI (ABIv0 or ABI-WIP or ABIv1)
Title: Re: cross-compiling
Post by: Amiwell on November 26, 2020, 03:18:57 PM
I currently manage to compile the aros sources as the fixes come out under linux, for me it is already a great thing, I am not a programmer :D
Title: Re: cross-compiling
Post by: deadwood on November 27, 2020, 12:04:34 AM
I recently discovered Visual Studio Code and now use it exclusivelly for C and C# development. Even though it is a web application (running using embedded web engine) it is really fast and responsive. It comes with tons of extensions created by community.