Men have become the tools of their tools. – Henry David Thoreau (1817-1862)

[[RzR]]

[[Compiler]]s

GNUmake

I just love this GNU tool, but this is annoying :

from shell prompt :

TARGET=main
CXXFLAGS="-I${HOME}/usr/local/${OSTYPE}/opt/anylib/include/ -DMAIN_${TARGET}"
LDFLAGS="-lany -L${HOME}/usr/local/${OSTYPE}/opt/anylib/lib/"
# will fail on link :  because objects are after libs
make "CXXFLAGS=${CXXFLAGS}" "LDFLAGS=${LDFLAGS}" ${TARGET} ; \
g++ -o ${TARGET}  ${TARGET}.o  ${LDFLAGS}  \
&& ./${TARGET} ; rm ${TARGET}
MANIFEST:
 find .   \( -name CVS -prune  \) -a === -name CVS -o -type f \===
| sed s:^:${PACKAGE}-${VERSION}/: > $@

ERRORS

# rzr@lap:lirc/ # [0] # ./autogen.sh 
configure.ac:24: error: possibly undefined macro: AC_PROG_LIBTOOL
sudo apt-get install libtool

Autotools :

Autoconf

cleanac: cleanall
-rm -rf autom4te.cache *.cache *.log *.guess depcomp missing config.sub config.status libltdl libtool ltmain.sh *.lo    Makefile Makefile.in build-stamp
-rm -rf .libs .deps
-rm INSTALL NEWS README AUTHORS ChangeLog COPYING
# rm configure install-sh
# apt-get install autotools-dev autoconf libtool libltdl3-dev
ac: cleanac
libtoolize
-libtoolize --ltdl
aclocal
autoheader
touch INSTALL NEWS README AUTHORS ChangeLog COPYING
automake --add-missing
automake
autoconf
#	./configure
#	make
deb:
-rm config.sub config.guess
fakeroot ./debian/rules binary
debuild

Analyze

[[Bug]]

Misc

QA

SOFTWARE

CI/CD

MISC

MORE

programmingtool.txt · Last modified: 2020/09/08 20:47 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki