These ‘-m
’ options are defined for the HPPA family of computers:
-march=
architecture-type
1.0
’ for PA 1.0, ‘1.1
’ for PA 1.1, and ‘2.0
’ for PA 2.0 processors. Refer to /usr/lib/sched.models
on an HP-UX system to determine the proper architecture option for your machine. Code compiled for lower numbered architectures runs on higher numbered architectures, but not the other way around. -mpa-risc-1-0
-mpa-risc-1-1
-mpa-risc-2-0
-march=1.0
, -march=1.1
, and -march=2.0
respectively. -mjump-in-delay
-mdisable-fpregs
-mdisable-indexing
-mno-space-regs
Such code is suitable for level 0 PA systems and kernels.
-mfast-indirect-calls
This option does not work in the presence of shared libraries or nested functions.
-mfixed-range=
register-range
-mlong-load-store
+k
’ option to the HP compilers. -mportable-runtime
-mgas
-mschedule=
cpu-type
700
’ ‘7100
’, ‘7100LC
’, ‘7200
’, ‘7300
’ and ‘8000
’. Refer to /usr/lib/sched.models
on an HP-UX system to determine the proper scheduling option for your machine. The default scheduling is ‘8000
’. -mlinker-opt
-msoft-float
-msoft-float
changes the calling convention in the output file; therefore, it is only useful if you compile all of a program with this option. In particular, you need to compile libgcc.a
, the library that comes with GCC, with -msoft-float
in order for this to work.
-msio
_SIO
, for server IO. The default is -mwsio
. This generates the predefines, __hp9000s700
, __hp9000s700__
and _WSIO
, for workstation IO. These options are available under HP-UX and HI-UX. -mgnu-ld
ld
. This passes -shared
to ld
when building a shared library. It is the default when GCC is configured, explicitly or implicitly, with the GNU linker. This option does not affect which ld
is called; it only changes what parameters are passed to that ld
. The ld
that is called is determined by the --with-ld
configure option, GCC's program search path, and finally by the user's PATH
. The linker used by GCC can be printed using ‘which `gcc -print-prog-name=ld`
’. This option is only available on the 64-bit HP-UX GCC, i.e. configured with ‘hppa*64*-*-hpux*
’. -mhp-ld
ld
. This passes -b
to ld
when building a shared library and passes +Accept TypeMismatch
to ld
on all links. It is the default when GCC is configured, explicitly or implicitly, with the HP linker. This option does not affect which ld
is called; it only changes what parameters are passed to that ld
. The ld
that is called is determined by the --with-ld
configure option, GCC's program search path, and finally by the user's PATH
. The linker used by GCC can be printed using ‘which `gcc -print-prog-name=ld`
’. This option is only available on the 64-bit HP-UX GCC, i.e. configured with ‘hppa*64*-*-hpux*
’. -mlong-calls
Distances are measured from the beginning of functions when using the -ffunction-sections
option, or when using the -mgas
and -mno-portable-runtime
options together under HP-UX with the SOM linker.
It is normally not desirable to use this option as it degrades performance. However, it may be useful in large applications, particularly when partial linking is used to build the application.
The types of long calls used depends on the capabilities of the assembler and linker, and the type of code being generated. The impact on systems that support long absolute calls, and long pic symbol-difference or pc-relative calls should be relatively small. However, an indirect call is used on 32-bit ELF systems in pic code and it is quite long.
-munix=
unix-std
93
’, ‘95
’ and ‘98
’. ‘93
’ is supported on all HP-UX versions. ‘95
’ is available on HP-UX 10.10 and later. ‘98
’ is available on HP-UX 11.11 and later. The default values are ‘93
’ for HP-UX 10.00, ‘95
’ for HP-UX 10.10 though to 11.00, and ‘98
’ for HP-UX 11.11 and later. -munix=93
provides the same predefines as GCC 3.3 and 3.4. -munix=95
provides additional predefines for XOPEN_UNIX
and _XOPEN_SOURCE_EXTENDED
, and the startfile unix95.o
. -munix=98
provides additional predefines for _XOPEN_UNIX
, _XOPEN_SOURCE_EXTENDED
, _INCLUDE__STDC_A1_SOURCE
and _INCLUDE_XOPEN_SOURCE_500
, and the startfile unix98.o
.
It is important to note that this option changes the interfaces for various library routines. It also affects the operational behavior of the C library. Thus, extreme care is needed in using this option.
Library code that is intended to operate with more than one UNIX standard must test, set and restore the variable __xpg4_extended_mask
as appropriate. Most GNU software doesn't provide this capability.
-nolibdld
-static
option is specified on HP-UX 10 and later. -static
-static
option is specified, special link options are needed to resolve this dependency. On HP-UX 10 and later, the GCC driver adds the necessary options to link with libdld.sl when the -static
option is specified. This causes the resulting binary to be dynamic. On the 64-bit port, the linkers generate dynamic binaries by default in any case. The -nolibdld
option can be used to prevent the GCC driver from adding these link options.
-threads
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/HPPA-Options.html