The attached makefile may provide some initial directions in addition to "pragma import". /Per Den 2016-06-23 kl. 12:58, skrev Björn Lundin: > On 2016-06-23 10:36, Diogenes wrote: >> Is there a simple way to make a direct (Linux)Kernel syscall from Ada without using the system C library? i.e. Make a direct call as in Assembler? >> >> I'm asking because I've found a way to strip about 80k from a statically linked executable by not including Interfaces.C in the runtime. >> >> I've gotten my code to work reasonably well (no segfaults or memory errors) using inline Assembler. But it seems like there should be an Abstract or Generic "syscall" feature as part of the System library that we could use for doing our own Kernel calls. Same thing for the vDSO. >> >> Any tips? >> >> Diogenes >> > > > pragma import ? > >