📄 hpux.html
字号:
<TITLE>COG 2.1: Compilation under HPUX</TITLE><H1>Compilation under HPUX</H1><H3> When compiling with KCC</H3><PRE>COG_CONFIG=hpux-kcc</PRE><H3> When compiling with aCC and /opt/ansic/bin/cc (HP's native c++and c compilers)</H3><PRE>COG_CONFIG=hpux-acc</PRE><H3> When compiling with gcc & g++ (GNU compilers)</H3><PRE>COG_CONFIG=hpux-gcc</PRE> <P>GNU assembler (as) copied to/opt/gcc-2.95.1/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.1 (which is thedefault location gcc and g++ look for the programs to run for buildingan executable file from source code) from/opt/binutils-2.9.1/hppa1.0-hp-hpux10.20/bin. My experience is thatcontrary to gcc documentation, even if the binutils bin directory isfirst in the PATH defined directory list, gcc or g++ won't necessarilygrab an assembler from that location, as proven by compiling with the-v option which shows all commands issued to build an executable whencompiling. That is why I explicitly copied the GNU assembler to theabove mentioned location. <P>(Mike Schulewski)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -