Try to build shared library Solaris x86, but "-mimpure-test" not evailable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I'm building shared library on Solaris SPARC, using command like that:
 g++ -fPIC -shared -mimpure-text <sourse> -o <out> - it is ok.

While building shared library on Solaris x86, I can't use "-mimpure-text" (it is not available). How can I build my library without "-mimpure-text"? Without it I have errors like that:

Text relocation remains                         referenced
   against symbol                  offset          in file

arrayOfSlots_lock 0xa /usr/local/src/korona/node/i386-pc-solaris2.8/lib/liboci8.a(oci.o)
...

Thanks

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux