Executables produced with the ‘-resident’ option are pure, so they can be made resident using the AmigaShell ‘resident’ command. ‘resident’ executables are loaded to memory just once, and several concurrent instances share the code section.
Note: The compiler generates the same code for ‘-resident’ as for ‘-fbaserel’ (see -fbaserel). Only the linking stage is different (special startup code is linked).
This option has no negative form.
For more information, please refer to the ‘LibNIX’ documentation.