HP-UX +Z vs +z

Help
dmulder
2004-10-06
2013-04-24
  • dmulder
    dmulder
    2004-10-06

    On HP-UX 11 system my object data tables require using the +Z option which expands to -piccode long. Position independent code for a shared library use. Typical or default suggested by HP is +z which is -piccode short. The linker messages you to use +Z according to the aCC compiler man page if your data tables are determinedc to be large, hence requiring +Z option.

    If I add +Z as a compiler arg, it should transform to -piccode long, but never recognizes the change when compiling.

    If you have seen this and know of a workaround would appreciate. Otherwise, I will have to fall back on discrete ant tasks already in use to compile and link.

    I will provide snippets upon request.