Overview
| Artifact ID: | d15f8a49b1889c6a66fae17a9e8f61b2bb3f63dc |
|---|---|
| Ticket: | 1586861fffffffffffffffffffffffffffffffff
CPPFLAGS is not properly supported |
| User & Date: | eponym on 2006-10-29 21:39:07 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
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.
- foundin changed to: "obsolete: 8.4.14"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "eponym"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "CPPFLAGS is not properly supported"
- type changed to: "Bug"