05 July 2007, 17:39 | #1 |
Posts: n/a
|
OS 3.9 Includes headers missing(as installed from NDK3.9)
I installed the NDK3.9 and took a look in the includes_h path.
/* My familiarity with includes paths is just what ever has been installed by the devopment package (SAS/C). I've never actually used an NDK before or generated header files using scripts.*/ To my surprise, I have no ../math.h, ../stdio.h, or any ../xxx.h for that matter. The only things I have are directories. My guess is that I haven't run a script that is hidden somewhere. Of course, there is no documentation telling me to do so, and I am at a loss on this one. This is probably an extremely easy one for the gurus, but any info on this is appreciated. Thanks |
05 July 2007, 19:44 | #2 |
Registered User
|
The NDK contains only the Amiga stuff. stdio, math etc. is part of the definition of the C language and supplied with the compiler or replacement C run time libraries.
|
06 July 2007, 22:11 | #3 | |
Posts: n/a
|
Quote:
-->include //this is the main include drawer in the SAS env | |---- stdio.h math.h //these are headers in SAS include drawer time.h //defining C string.h . . -->clib -->dos //these are the sub-drawers in the SAS -->intuition //include drawer (specific to Amiga?). -->harware //can I replace these with NDK3.9 drawers? . . Not sure what I should do here.<img> I read many of the files in the NDK3.9, but none explain how to actually use the Amiga includes supplied with it. I assume there are at least a few ways of doing this: 1) using #include "NDK3.9:include/include_h/sub-drawer/xxxxxx.h" 2) generating a new set of NDK3.9 includes using a script or tool 3) using compiler options to point to the alternate NDK3.9 includes 4) just copy NDK3.9:include/include_h/#? to the SC:include drawer Ultimately, I would like to have 3.9 includes as the default so I can just use something like #include <stdio.h> and be sure stdio.h is referencing the 3.9 includes. |
|
06 July 2007, 23:16 | #4 |
Registered User
|
You can replace the drawers in SAS/C's include with the drawers from the NDK and keep the files in the main dir.
To use the them just include the proto/xxx.h files for the definition of the function calls and the other includes for the definition of the structures and constants. |
09 July 2007, 02:40 | #5 |
Posts: n/a
|
Ok, thanks... I'll give it a go.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A1200 rev1a add clockport headers | OverDose | support.Hardware | 1 | 04 April 2011 03:24 |
removing xpk headers? | h0ffman | Coders. General | 3 | 23 December 2010 23:00 |
Includes | kristofferj | Coders. General | 3 | 03 May 2010 15:38 |
EXE headers | Asle | request.Other | 3 | 29 July 2006 15:11 |
Please avoid xDMS with files which contain headers | andreas | project.TOSEC (amiga only) | 5 | 31 March 2006 16:47 |
|
|