CC -O -mt -features=no%conststrings Need help with this compilation option.

hello , I am in process of migrating C/C++ project from Solaris 32bit to Red Hat Linux 64 bit. the old build process which was compiling C/C++ code is failing in new environment(i.e. RH linux 64bit), its basically not recognising the compiler's command line options.. -mt and -features=no%conststrings

here is command getting used to compile : CC -O -mt -features=no%conststrings

the above is working in Solaris environment.

I would appriciate any help regarding this.
The GCC analog of -no%conststrings was -fwritable-strings but it's been removed years ago. It was there to allow erroneous code to compile. You will have to fix those errors.

As for -mt, the closest analog is -pthread.
Many thanks Cubbi.
Topic archived. No new replies allowed.