Next: SPARC Options, Previous: SH Options, Up: Submodel Options
These `-m' options are supported on Solaris 2:
-mimpure-text
-mimpure-text suppresses the “relocations remain against allocatable but non-writable sections” linker error message. However, the necessary relocations will trigger copy-on-write, and the shared object is not actually shared across processes. Instead of using -mimpure-text, you should compile all source code with -fpic or -fPIC.
These switches are supported in addition to the above on Solaris 2:
-pthreads
-pthread