Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Compiling (esp C/C++) How do you like to do it?
« Reply #14 from previous page: March 04, 2016, 11:57:27 PM »
I never targeted AROS, but for the others, I used a combination of vbcc and GCC running on Windows.

vbcc is great, but when compiled from source on Windows, the host binaries do not emulate the target's floating point environment. It's been years since I've done any Amiga programming, so I'm not sure how vbcc handles that today.

I usually built my own native GCC binaries from the adtools repository under MinGW. Cygwin is probably easier to manage, but at the time, Cygwin support for 64-bit Windows was very poor.
 

Offline HaukeVB

  • Newbie
  • *
  • Join Date: Feb 2016
  • Posts: 24
    • Show only replies by HaukeVB
Re: Compiling (esp C/C++) How do you like to do it?
« Reply #15 on: March 07, 2016, 12:28:49 PM »
Is it possible to debug a program from outside of WinUAE?
That would be my dream setup. Compile in Eclipse and target 68k or now PPC in WinUAE... and debug in Eclipse...

I suppose this would require some form of remote debugger...
| A1500, 2630, Merlin, XCalibur, Nexus, Emplant, 2320...
 

Offline nicholas

Re: Compiling (esp C/C++) How do you like to do it?
« Reply #16 on: March 07, 2016, 03:06:24 PM »
Quote from: HaukeVB;805513
Is it possible to debug a program from outside of WinUAE?
That would be my dream setup. Compile in Eclipse and target 68k or now PPC in WinUAE... and debug in Eclipse...

I suppose this would require some form of remote debugger...

Not that I'm aware of but if you hit Shift-F12 in winuae it brings up the built-in 68k debugger.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini