|
|
От: |
halka
|
|
| Дата: | 04.10.07 16:35 | ||
| Оценка: | |||
PA-RISC Linker Toolset
The linker toolset supports the building of native IPF applications. PA-RISC applications can be run on IPF (through the Aries code emulator) but not compiled and linked on IPF. The PA-RISC linker toolset files (ar, chatr, ldd, nm, odump, size, strip) are provided in a separate directory (/usr/ccs/pa/usr/ccs/bin) and can be used to support existing PA-RISC applications. To use the PA-RISC linker toolset, set the SDKROOT environment variable to /usr/ccs/pa and specify the regular toolset file in the command line. This method invokes a script that starts up the corresponding PA-RISC linker toolset file. For example, with the k-shell:
$ export SDKROOT=/usr/ccs/pa
$ chatr a.out
To run commands from the IPF linker toolset again, unset SDKROOT. Or, if you are running in a mixed environment and need to run IPF and PA-RISC linker tools on different files, you can set SDKROOT for just one command:
$ SDKROOT=/usr/ccs/pa chatr a.out