Problem with DTK C Compiler?

From: Tom Webster <webster_at_ssdpdc.lgb.cal.boeing.com>
Date: Fri, 03 Dec 1999 15:24:53 -0800

Hi,

I was wondering if somebody else cold confirm this problem before I
open a ticket -- want to make sure that I didn't hose the install
somehow....

Software:
- Latest Developer's Toolkit (http://www.unix.digital.com/dtk/)
- Compaq C Compiler V6.1-110
- Valid, Loaded, Developer's License (OSF-DEV-USER)

Hardware/OS:
- DS20 EV6/500
- Tru64 4.0f w/ PK0002

Problem:
The "-E" switch on the compiler appears to be a no-op. This should
be the same as running the C preprocessor (cpp) against the code.

Here's an example:

cc -E /etc/hosts
  No output. (Bad)

cpp /etc/hosts
  Screens of error messages about formatting (as it should be).

The GNU autoconf tools tend to automatically use "cc -E" rather than
"cpp" for the preprocessor. This has lead to some odd failures
since installing the DTK. The compiler WILL compile code and it
seems to link fine, it's just that the "-E" option doesn't seem
to do anything. Other DTK tools appear to be working.

Can anyone confirm this on their system?

Thanks,

Tom
-- 
+-----------------------------------+---------------------------------+
| Tom Webster                       |  "Funny, I've never seen it     |
| SysAdmin MDA-SSD ISS-IS-HB-S&O    |   do THAT before...."           |
| webster_at_ssdpdc.lgb.cal.boeing.com |   - Any user support person     |
+-----------------------------------+---------------------------------+
|      Unless clearly stated otherwise, all opinions are my own.      |
+---------------------------------------------------------------------+
Received on Fri Dec 03 1999 - 23:26:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT