From: SourceForge.net <no...@so...> - 2006-10-30 15:11:11
|
Bugs item #1586861, was opened at 2006-10-29 13:39 Message generated for change (Settings changed) made by jenglish You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1586861&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 52. Configuration and Build Tools Group: current: 8.4.14 Status: Open Resolution: None Priority: 5 Private: No Submitted By: eponym (eponym) >Assigned to: Joe English (jenglish) Summary: CPPFLAGS is not properly supported Initial Comment: The Tcl configure script, when it processes a number of actions during the configure process, uses CPPFLAGS to test the compiler. But when it comes to the actual build process, this environment variable is totally ignored. The reason for needing this is to better support a general application environment, and the integration of Tcl libraries into that environment. In these builds, a clean separation is desired between CFLAGS (used only for the C compiler), CXXFLAGS (used only for the C++ compiler), and CPPFLAGS (for settings in common between the C and C++ compilers). As an example of how this failure causes problems, on the Solaris platform, the -D_POSIX_C_SOURCE=200112L flag should be set in CFLAGS to conform to the rest of the application build, and -D__EXTENSIONS__ flag should be set in CPPFLAGS. But with this combination of environment variables, and -D__EXTENSIONS__ in CPPFLAGS being ignored, the compilation of tclUnixChan.c fails because certain symbols (such as TIOCMGET) from <sys/termios.h> do not get defined. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1586861&group_id=10894 |