Some of the PBL sources #include <boot.h>, for example, which only exists in the std gcc header folders, but boot.h contains #include <sys/type.h> (yes, *.h files including others
)- but there is no /sys/ folder relative to the gcc boot.h file, but there *is* one, say, 2 folders down in the free-xdk folders - which obviously it fails to find
. All very puzzling. Copying the *.h file and editing the *.c files was in desperation, not my first approach.
I wondered if it was standard Linux development practice to mount the /sys/ folder under the gcc include folder or some such.