my project is split up in the following way:
src <= library built from convenience libraries in the subdirs
|- algorithm <= convenience library libalgorithm.la
|- math <= convenience library libmath.la
|- …
program <= link to the library
the convenience libraries are specified in the Makefile.am (in the corresponding subdir):
noinst_LTLIBRARIES = libgroalgorithm.la
the shared library:
lib_LTLIBRARIES = libgroxx.la
libgroxx_la_LIBADD = algorithm/libgroalgorithm.la
math/libgromath.la
…
to configure i set
CC pgcc
CXX pgCC
i tried LD not set, pgCC, pgcc, ld (GNU), gcc
AR was never set
all the convenience libraries seem to compile fine (the .la files are there and the archives .a are non-empty)
when i try to link them together into the libtool library, the command hangs. no error message, no processor time, no disk access, just doesn’t do anything:
/bin/sh …/libtool --mode=link --tag=CC pgcc -o libgroxx.la -rpath /scratch/igcpc01/markus/gromosXX/LINUX_PGC/lib -no-undefined -version-info 0:3:0 algorithm/libgroalgorithm.la configuration/libgroconfiguration.la interaction/libgrointeraction.la math/libgromath.la simulation/libgrosimulation.la topology/libgrotopology.la util/libgroutil.la io/libgroio.la -L/scratch/igcpc01/markus/programs/gsl-1.5-pgc/lib -lgsl -lgslcblas -lm -lm
mkdir .libs
[Ctrl-C]
make[3]: *** [libgroxx.la] Interrupt
make[2]: *** [all-recursive] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt
Total time : 24:53.35s
CPU utilisation (percentage) : 8.9%
the project compiles fine with gcc-3.4 and intel icc 8.0.
pgCC is:
pgCC 5.2-2
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
system is:
Linux igcpc01 2.6.7 #1 SMP Fri Aug 13 15:34:21 CEST 2004 i686 GNU/Linux
(debian)
libtool: 1.5.8
any ideas?
more info needed?
thanks for all hints!
markus