Welcome, Guest. Please login or register.

Author Topic: Compiling (esp C/C++) How do you like to do it?  (Read 1851 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jennadkTopic starter

  • Newbie
  • *
  • Join Date: Mar 2015
  • Posts: 26
    • Show all replies
Compiling (esp C/C++) How do you like to do it?
« on: March 03, 2016, 03:14:09 AM »
I'm curious as to how most people approach compiling new software for so many Amiga platforms, such as AROS x86/68k, OS4, MorphOS and OS3.X? I've seen directions for most on cross-compiling from Linux but each requires its own flavor of GCC/G++ and SDK/libraries. What do most folks seem to do?

Just from a speed perspective, it seems like cross compiling from Linux x86 is attractive, but do folks still compile directly on PPC & 68K? Also wondering if there's a good central guide on how to set up the various SDK / Compiler environments for all of those combinations out there?

This is not an inquiry about editors/IDEs, I view those as a separate preference. That said,  if you compile with whatever is included please reply!

Thank you,
JDK
________________________________________________
Amiga 1200 ACA1231|IDE2CF|16GB CF|Indivision|3ComLAN
Morphos Mini G4 1.4Ghz|1GB RAM
 

Offline jennadkTopic starter

  • Newbie
  • *
  • Join Date: Mar 2015
  • Posts: 26
    • Show all replies
Re: Compiling (esp C/C++) How do you like to do it?
« Reply #1 on: March 03, 2016, 10:54:37 PM »
Yay, this is actually pretty handy. Something  I am thinking is, since it seems like all platforms 'support' using some form of  GCC + a SDK, it might be reasonable to set up vagrant or a similar downloadable compiling environment.

You'd download the vagrant 'box' and then point a predetermined share path in vagrant to your SDK (licensing) and another to your project and run vagrant to build. There would have to be a supporting site with documentation on use, set up and links to the supported SDKs as well. Might be a useful project?

That's in theory at least, it's what I do at work with Django and Laravel. I don't know what current developers in the Amiga community really use though, if most folks don't ever cross compile to multiple platforms it's not useful.

As a PHP/Python centric person I'm only aware of GCC/G++ from the perspective of compiling pre-packaged Python add-ons and Linux software. So getting all of the correct compiler settings, versions and flags is probably 90% of the work.
________________________________________________
Amiga 1200 ACA1231|IDE2CF|16GB CF|Indivision|3ComLAN
Morphos Mini G4 1.4Ghz|1GB RAM
 

Offline jennadkTopic starter

  • Newbie
  • *
  • Join Date: Mar 2015
  • Posts: 26
    • Show all replies
Re: Compiling (esp C/C++) How do you like to do it?
« Reply #2 on: March 04, 2016, 02:47:36 AM »
That sounds fantastic, I see the .se site with that name but it doesn't seem to have anything for Amiga. Where are these stored at?
________________________________________________
Amiga 1200 ACA1231|IDE2CF|16GB CF|Indivision|3ComLAN
Morphos Mini G4 1.4Ghz|1GB RAM
 

Offline jennadkTopic starter

  • Newbie
  • *
  • Join Date: Mar 2015
  • Posts: 26
    • Show all replies
Re: Compiling (esp C/C++) How do you like to do it?
« Reply #3 on: March 04, 2016, 09:34:33 PM »
DistCC seems neat for a speed bump. It seems like folks use different things all over the board. It's fantastic that there's still plenty of viable options.

@Varthall Thank you for the links!
________________________________________________
Amiga 1200 ACA1231|IDE2CF|16GB CF|Indivision|3ComLAN
Morphos Mini G4 1.4Ghz|1GB RAM