Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Operating System Specific Discussions
»
Amiga OS
»
Amiga OS -- Development
»
GCC and Reaction
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: GCC and Reaction (Read 2416 times)
Description:
0 Members and 1 Guest are viewing this topic.
Crumb
Hero Member
Join Date: Mar 2002
Posts: 1786
Country:
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?
Logged
The only spanish amiga news web page/club:
Club de Usuarios de Amiga de Zaragoza (CUAZ)
Ami603
Full Member
Join Date: Jul 2002
Posts: 180
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-)
Logged
AmigaOne X1000
falemagn
Sr. Member
Join Date: May 2002
Posts: 269
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.
Logged
Crumb
Hero Member
Join Date: Mar 2002
Posts: 1786
Country:
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 :-(
Logged
The only spanish amiga news web page/club:
Club de Usuarios de Amiga de Zaragoza (CUAZ)
falemagn
Sr. Member
Join Date: May 2002
Posts: 269
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
Logged
Crumb
Hero Member
Join Date: Mar 2002
Posts: 1786
Country:
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?
Logged
The only spanish amiga news web page/club:
Club de Usuarios de Amiga de Zaragoza (CUAZ)
Crumb
Hero Member
Join Date: Mar 2002
Posts: 1786
Country:
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 :-)
Logged
The only spanish amiga news web page/club:
Club de Usuarios de Amiga de Zaragoza (CUAZ)
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Operating System Specific Discussions
»
Amiga OS
»
Amiga OS -- Development
»
GCC and Reaction
There was an error while thanking
Thanking...