- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- C Compile Flags
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:55 AM
10-26-2006 02:55 AM
C Compile Flags
We use the Vax C compatibility switch to compile the code as well.
We are having some problems with the include files during compilation.
I want to see all the include files during the precomipled phase to create a single file for compile analysis. In ANSI C, the developer would set a flag to create a .i or .p file which has all the include file references in the source code.
I am search for a like precompile FLAG to create a similier file on the VMS environment we are currently working on.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:59 AM
10-26-2006 02:59 AM
Re: C Compile Flags
I believe that you will find this is the /PREPROCESS_ONLY qualifier. Check the HELP text for how to direct the resulting output file.
I would recommend checking the HELP text for the CC command to see if any of the other qualifiers are appropriate for your situation.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:13 AM
10-26-2006 03:13 AM
Re: C Compile Flags
$ CC /LIST/SHOW=INCLUDE ...
This will produce a listing with all #include included.
For more see: $ HELP CC /SHOW
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:53 AM
10-26-2006 03:53 AM
Re: C Compile Flags
Would I include the /PREPROCESS_ONLY flag in the make file right???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:10 AM
10-26-2006 04:10 AM
Re: C Compile Flags
With the /LIST/SHOW the compiler creates the object file (.OBJ) and a listing file (.LIS).
So it depends on yours make file. If some parts depends on created object files that parts of make will not execute.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:22 AM
10-26-2006 04:22 AM
Re: C Compile Flags
macro expansions, too.
> [...] In ANSI C [...]
You seem to be coming from UNIX. Around here,
we can get onject files and compiler listings
in one pass.