These are MSVC linker flags, they can't be used for GCC (directly). Not sure if you should quickly switch to MSVC or tell your compliance department that you are using GCC
.
Anyway for the first two flags there are equivalent GCC switches, these are
-Wl,--dynamicbase and
-Wl,--nxcompat, you set these as
Other linker options in CodeBlocks, either in the project specific settings or global compiler settings. The other two are more tricky. According to the docs
/SAFESEH only applies to x86 builds and afaik GCC on windows supports SEH only in x86_64 builds so this flag does not apply to you. For the
/GS flag you have to search if GCC supports something similar and how to enable it.