Welcome, Guest. Please login or register.

Author Topic: Need help compiling Reaction examples with GCC  (Read 2063 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Highflyer

  • Newbie
  • *
  • Join Date: Mar 2002
  • Posts: 14
    • Show all replies
Re: Need help compiling Reaction examples with GCC
« on: June 27, 2003, 08:32:01 AM »
Quote

-Edit- the example compiles perfectly in stormc 3.0 , however I want to use GCC so that my stuff will recompile easily for OS 4.0.


Stormc opens the various libraries automatically. For gcc, did you add -lauto when compiling?
 

Offline Highflyer

  • Newbie
  • *
  • Join Date: Mar 2002
  • Posts: 14
    • Show all replies
Re: Need help compiling Reaction examples with GCC
« Reply #1 on: June 27, 2003, 02:13:42 PM »
Quote

-Edit- I couldnt wait till morning, I'm using stormc!! thanks anyway people.


Just in case you or someone else is interested: where is the libauto.a? The trick with gcc is that the names of the libraries don't match the way you call them (libamiga.a is -lamiga etc)
I had the same errors when switching from stormc to gcc, and -lauto solved the undefined references. For the type conversion, I remember that's because stormc is doing some of the work and with gcc you've got to be more explicit (check the autodocs or other sources compilable with gcc).
In the end I succeeded compiling reaction with gcc.