Welcome, Guest. Please login or register.

Author Topic: GCC and Reaction  (Read 2404 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline CrumbTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
GCC and Reaction
« on: February 01, 2004, 09:49:47 PM »
 Hi!

I'm using Louise's hardfile with Geek Gadgets and GCC... I have tried to copy the NDK3.9 includes but I can't compile any of the reaction examples, they fail in the linking stage. Anyone knows what should I do to compile the examples?
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline Ami603

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 180
    • Show only replies by Ami603
Re: GCC and Reaction
« Reply #1 on: February 01, 2004, 10:59:33 PM »
Hey Crumb, we were discussing this a little ago, but i forgot to add, doesn´t the ndk examples are StormC based?

See you soon 8-)
AmigaOne X1000
 

Offline falemagn

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 269
    • Show only replies by falemagn
    • http://www.aros.org/
Re: GCC and Reaction
« Reply #2 on: February 01, 2004, 11:00:57 PM »
replace all occurrencies of

#include

and

#include

and

#include
(except for )

with

#include

The former 3 will only work for specific compilers, the latter one will work everywhere.
 

Offline CrumbTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: GCC and Reaction
« Reply #3 on: February 02, 2004, 12:06:57 AM »
ugh?

the includes already use #protos and don't use pragmas

#include
#include
#include
#include
#include

#include
#include

#include
#include
#include
#include
#include
#include

#include
#include
#include

#include
#include
#include
#include
#include

#include
#include


but they don't compile :-(
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline falemagn

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 269
    • Show only replies by falemagn
    • http://www.aros.org/
Re: GCC and Reaction
« Reply #4 on: February 02, 2004, 12:19:54 AM »
try putting this:

#define ALL_REACTION_CLASSES
#define ALL_REACTION_MACROS

before this:

#include
#include
 

Offline CrumbTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: GCC and Reaction
« Reply #5 on: February 02, 2004, 03:47:40 PM »
Thank you Fabio, but it doesn't link...

Should I use fd2pragma or fd2inline to adapt the ndk3.9 includes?
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline CrumbTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: GCC and Reaction
« Reply #6 on: February 04, 2004, 04:36:26 PM »
I converted some includes with fd2pragma without luck but a little time later... I got it working!
:-)
All I had to do is add a -noixemul parameter :-)

thank you Fabio & co!

now I can start to play with Reaction :-)
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)