October 2000
Intermediate to advanced
432 pages
9h 9m
English
Installing an executable uses exactly the same command line that I used to install the library earlier:
$ libtool cp hello /usr/local/bin gcc -o /tmp/libtool-28585/hello main.c /usr/local/lib/libhello.sl \ /usr/local/lib/libtrim.sl -Wl,+b -Wl,/usr/local/lib cp /tmp/libtool-28585/hello /usr/local/bin/hello $ /usr/local/bin/hello Hello, World!
As libtool said earlier, during the initial linking of the hello program in the build directory, hello must be rebuilt before installation. This is a peculiarity of HP-UX (and a few other architectures) that you won't see if you are following the examples on a GNU/Linux system. In the preceding shell trace, libtool has built an installable version of the hello program, saving ...
Read now
Unlock full access