Welcome, Guest. Please login or register.

Author Topic: Which includes to use for C compilers  (Read 4116 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 77
    • Show all replies
Which includes to use for C compilers
« on: June 20, 2024, 08:23:57 PM »
Hi.

Most C compilers (vbcc, sas/c, etc). come with their own set of Amiga includes.
But there is also the AOS NDK includes.
How should this be used? Does one should have precedence over the other?

I have been setting this up as assigns where the NDK includes/libs are first and then the compiler specific includes ADDed to the assign.
Is this the right way?


Cheers
 

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 77
    • Show all replies
Re: Which includes to use for C compilers
« Reply #1 on: June 21, 2024, 02:02:28 PM »
Alright, thanks.

When you say "I prefer to replace NDK inlines with compiler provided ones", what do you mean with 'replace' here, how do you replace them?
 

Offline asrael22Topic starter

  • Jr. Member
  • **
  • Join Date: Mar 2017
  • Posts: 77
    • Show all replies
Re: Which includes to use for C compilers
« Reply #2 on: June 21, 2024, 02:43:40 PM »
I've checked, SAS/C actually comes with a full set of Amiga headers, probably 3.1 based.
VBCC does not.