Opened 15 years ago
Closed 15 years ago
#390 closed defect (fixed)
libyat is linked together with C-linker
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | trivial | Milestone: | yat 0.5 |
Component: | build | Version: | trunk |
Keywords: | Cc: |
Description
libyat is built using
/bin/sh ../libtool --tag=CC --mode=link gcc -version-info 1:0:0 -L/usr/lib/atlas/ -o libyat.la -rpath /usr/local/lib classifier/libclassifier.la random/librandom.la regression/libregression.la statistics/libstatistics.la utility/libutility.la -lgsl -lcblas -lm
which could be compared with, for example, convenient library libutility
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -pedantic -g -O -L/usr/lib -L/usr/lib/atlas/ -o libutility.la Alignment.lo ColumnStream.lo CommandLine.lo FileUtil.lo Index.lo kNNI.lo Matrix.lo NNI.lo Option.lo OptionFile.lo OptionInFile.lo OptionOutFile.lo OptionHelp.lo OptionSwitch.lo PCA.lo stl_utility.lo SVD.lo TypeInfo.lo utility.lo Vector.lo VectorBase.lo VectorConstView.lo VectorMutable.lo VectorView.lo version.lo WeNNI.lo -lgsl -lcblas -lm rm -fr .libs/libutility.a .libs/libutility.la
Note that --tag=CXX
and g++
are used in the latter case, whereas --tag=CC
and gcc
are used in the former case.
The problem and solution are described in Automake Manual 8.3.5
Change History (2)
comment:1 Changed 15 years ago by
Owner: | changed from Jari Häkkinen to Peter |
---|---|
Status: | new → assigned |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
fixed in [1362]