cross-compiling

serk118uk · 1627

serk118uk

  • Member
  • ***
    • Posts: 187
    • Karma: +67/-0
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..

Lets Build Not Destroy...


amigamia

  • Administrator
  • Member
  • *****
    • Posts: 134
    • Karma: +49/-0
    • AROS World
Reply #1 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


sandman187

  • Newbie
  • *
    • Posts: 7
    • Karma: +1/-0
Reply #2 on: November 25, 2020, 06:00:58 PM



aGGreSSor

  • Member
  • ***
    • Posts: 184
    • Karma: +25/-0
    • russian transit
Reply #3 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++ is enough. For large projects, you can take something in 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.
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.
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
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)
« Last Edit: November 26, 2020, 03:27:54 AM by aGGreSSor »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #4 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



deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #5 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.