[orbitcpp-list] Build issues and questions
Status: Beta
Brought to you by:
philipd
From: Braden M. <br...@en...> - 2001-10-21 22:51:23
|
Some build issues and questions... 1. The current build overwrites the user variables CFLAGS and CXXFLAGS. Generally, you want to use the automake variables AM_CFLAGS and AM_CXXFLAGS for compiler options that should be provided by the build scripts. But... the options that the build is putting in CFLAGS and CXXFLAGS ("-g -O0") are the kind of options that the user should provide. I have fixed this and I can provide a patch. 2. The build system winds up redundantly defining some variables, and automake 1.5 spews warnings as a result. I have fixed this and I can provide a patch. 3. The project does the exact opposite of what the libtool documentation recommends, and ties it's package version number to the library version number. How come? 4. A number of the tests build with "-static" in CXXFLAGS. AFAICT, this is a linker option, so it should go in LDFLAGS. But why is it being used? 5. The build currently creates and installs a static library for the IDL compiler. Unless I'm missing something, this is completely useless. I think I can fix this, but I think it would involved creating an additional configure script just for the compiler. This script would be called by the main configure script (see AC_CONFIG_SUBDIRS). I'd be happy to work on this, but first I wanted to make sure there's interest in such a change. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |