You can link the system library SYS.A to your application if you don’t want that your application uses rsxnt.dll. The size of your application will grow by 15-25 KB. The advantage is the you only need the EXE-file to run the application.
Dual-mode requires the -Zwin32 switch. Dual mode programs are not supported with the system library.
Example:
gcc -Zwin32 -Zsys test.c