Welcome, Guest. Please login or register.

Author Topic: gcc #include issues...  (Read 1180 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mousehouseTopic starter

gcc #include issues...
« on: December 28, 2011, 07:38:25 PM »
Beloved supporters ;-)

Finally I have succeeded in getting gcc 2.95.3 up and running and successfully compiling C code on 68K. Have not tried anything too fancy but it compiles, spits out an "a.out" binary that actually runs. Nice...

Now that I have that working I want to get the PPC/WarpOS part up and running. I have the 5 archives containing the add-ons installed successfully, meaning that I should have a compiler that can create PPC code running on 68K...

I can do a "ppc-amigaos-gcc -warpup --version" and it tells me nicely that it is 2.95.3 etc. Now when I actually try to compile my hello.c, it complains about not being able to find "stdio.h" and bails out on me. I am unable to find this error using Google and clueless on how to fix this. I checked the paths, include tree... all looks fine to me. The 68K compiler runs fine, no issues there.

Does anybody have an idea what could be wrong? I'm on OS3.9, plain install, running the GG scripts for the assigns.
A3000T
 

Offline mousehouseTopic starter

Re: gcc #include issues...
« Reply #1 on: December 28, 2011, 08:29:21 PM »
OK, I got a little further than this... I can now actually run the first stage of the compiler just fine, after that 'ar' bails out on me with "as: unrecognized option 'u"...

Any clues? I've got the binutils from the latest GG snapshot on back2roots, it tells me it's version 2.91.

A3000T