[Uml-devel] Q: using ccache?

Heiko Nardmann h.nardmann at secunet.de
Thu Oct 24 22:11:06 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I yesterday tried to use ccache to fasten compilation of umbrello. This failed 
because the definition of CXX='ccache g++' lead to libtool thinking that g++ 
is one file to link with while linking the code generators library.

Here is the output of linking at this stage:

ccache g++ -shared -nostdlib /usr/lib/crti.o 
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/crtbeginS.o  .libs/javawriter.o 
.libs/factory.o .libs/cppwriter.o .libs/phpwriter.o  
- -L/usr/lib/gcc-lib/i486-suse-linux/2.95.3 -L/usr/i486-suse-linux/lib -lstdc++ 
- -lm -lc -lgcc /usr/lib/gcc-lib/i486-suse-linux/2.95.3/crtendS.o 
/usr/lib/crtn.o   g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast 
- -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes 
- -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
- -Wconversion -fno-builtin -g -O2 -fno-exceptions -fno-check-new 
- -Iuml/classparser -Iuml/dialogs -Iuml/clipboard -Wl,-soname 
- -Wl,libcodegenerator.so.0 -o .libs/libcodegenerator.so.0.0.0

But maybe you have another way to keep the CVS sources compilation up to date. 
Currently I copy the whole CVS source tree to another place and do a complete 
recompilation. That is normally to much work than what would be necessary. In 
most cases it would suffice to copy the changed source files of the CVS tree 
to the old copy and then start compilation. Is there a simple way to have CVS 
tree and compilation tree in sync this way?

- -- 
Heiko Nardmann (Dipl.-Ing.), h.nardmann at secunet.de, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iEYEARECAAYFAj240YQACgkQpm53PRScYyh+jQCeL2VEOvLsN7p+EW9sQXeDigEe
4SUAoOlE9DVYLnIZYUeS6yF6Dlf6yocf
=ol3c
-----END PGP SIGNATURE-----





More information about the umbrello-devel mailing list