[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX
From: |
Jim Meyering |
Subject: |
Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX |
Date: |
Thu, 19 Mar 2009 21:56:23 +0100 |
Matthew Woehlke wrote:
> Jim Meyering wrote:
>> Matthew Woehlke wrote:
>>> Jim Meyering wrote:
>>>> If someone cares enough about HP's C compiler, they teach
>>>> autoconf to detect this limitation and automatically add an
>>>> appropriate -H option, presumably to raise its internal limit.
>>> I'd love to help, but as mentioned, I have *no* idea how to feed
>>> options to cc so that it passes them to cpp.
>>
>> For you to get past this, try ./configure CPPFLAGS=-H...
>> where you choose the "..." part.
>
> I finally found this in the cc manpage (it's mis-formated and
> near-impossible to read; I missed it the first several times). Looks
> like it needs '-Wp,-H,1048576'. No I didn't write that wrong, the
> macro apparently expands to *over 180 kb*, and I'd like room to add
> one or two items. (I decided to verify that with 'gcc -E'... and yup,
> it's around 200 kb. *Still* don't think that's excessive?)
Ha! Indeed. 180KB is excessive.
> Incidentally, this construct, which should produce the same result:
>
> MAX (
> MAX (
> MAX (
> O_APPEND,
> MAX (O_BINARY, O_CIO)
> ),
> MAX (
> MAX (O_DIRECT, O_DIRECTORY),
> MAX (O_DSYNC, O_NOATIME)
> )
> ),
> MAX (
> MAX (
> O_NOCTTY,
> MAX (O_NOFOLLOW, O_NOLINKS)
> ),
> MAX (
> MAX (O_NONBLOCK, O_SYNC),
> MAX (O_TEXT, 0)
> )
> )
> )
>
> ...expands to a measly 2 kb.
Better, indeed.
Would you like to prepare the patch?
http://git.sv.gnu.org/cgit/coreutils.git/plain/HACKING
- coreutils 7.1.49-ebb9 FTB risc/HP-UX, Matthew Woehlke, 2009/03/18
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Jim Meyering, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Matthew Woehlke, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Jim Meyering, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Matthew Woehlke, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX,
Jim Meyering <=
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Jim Meyering, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Matthew Woehlke, 2009/03/19
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Eric Blake, 2009/03/20
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Jim Meyering, 2009/03/20
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Eric Blake, 2009/03/20
- Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Jim Meyering, 2009/03/20
Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX, Matthew Woehlke, 2009/03/19