is it possible to use the subsystem command and define other types of commands?

57 Views Asked by At

I want to create a driver that can run during Boot but VStudio is too heavy, so I use Dev-C++ 6.3 a good programming program

but when using /SUBSYSTEM Dev-C++ the compiler says [Error] /SUBSYSTEM=BOOT_APPLICATION: No such file or directory

1

There are 1 best solutions below

0
Sufferer93 On

I think I got it!

when using -Wl it is as if you use ld.exe -Wl Pass comma-separated on to the linker.

so this is what I understood ld.exe --help -Wl,-subsystem, [Number or Word] : [version number] as I didn't need a subsystem, I then put -Wl,-subsystem,0001:0

0001 = unknown subsystem; 0002 = Windows GUI; ???? = Windows CUI