HP3000-L Archives

February 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Walter Murray <[log in to unmask]>
Reply To:
Walter Murray <[log in to unmask]>
Date:
Wed, 27 Feb 2002 14:47:43 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
"Jan" <[log in to unmask]> wrote in message
news:992ffd94.0202270424.356fa70e@posting.google.com...
> According to the docs (HP C/iX Reference Manual) I can use the option
> -W,-Csize to change this behaviour, but I get these messages when I try:
[snip]

You are not the first person to be confused by the manual on this point.
The short answer is, instead of this:
     -Wp,-C1024
use this:
     -Wc,-C1024
or simply this:
     +C1024

Here's the long answer, taken from CR JAGab42722 (SR 5003379925):

The section titled "HP C/iX Compiler Options" in the HP C/iX Reference
Manual, June 1992 edition, needs to be reworded to clarify the usage of
the two forms of the -C option.

The -C option without an argument is used to prevent the preprocessing
phase from stripping C comments.  It can be written as:
     -C
or:
     -Wp,-C

The -C option with an argument is used to specify the record length of
the output file for the preprocessing phase.  (The default is
512 bytes.)  Note that this is actually an option to the compiler phase,
not to the preprocessor phase.  It can be written as:
     -Wc,-C<size>
or:
     +C<size>
where <size> is the desired record length.

The manual states on page 8-11, "The preprocessor phase supports the
aforementioned -C [option] ...".  It is not clear that that statement
refers to the -C compiler option discussed on page 8-8, rather than the
-C<size> option to the compiler phase, discussed on page 8-10.

Walter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2