Hi Neil and Autrijus,

just another proposal: add the line in the diff listing below
to myldr/file2c.pl, and perhaps your compiler will like the result :-).

Best regards,

        Markus

clearadm> diff -C 3 file2c.pl file2c_improved.pl 
*** file2c.pl   Thu Jun 12 12:49:08 2003
--- file2c_improved.pl  Thu Jun 12 12:48:57 2003
***************
*** 50,55 ****
--- 50,57 ----
    ( join ', ', map { "'$_'" } @c_chars ) .
    ", '\\0' };\n";
  
+ $c_arr =~ s/((?:'.*?',\s){16,16})/$1\n/sg;
+ 
  print OUT $c_arr;
  close OUT;
  

>Date: Thu, 12 Jun 2003 11:31:38 -0100
>From: "Neil.shadrach" <[EMAIL PROTECTED]>
>To: Markus Jansen <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Subject: Re: make failure - OSF1 V4.0 878 alpha
>
>Hi Markus,
>
>Thanks for the quick response. Unfortunately the '-H' option doesn't appear
>to be supported on my system ( I've trawled the cc/cpp docs ).
>
>Regards
>
>Neil Shadrach
>
>---------  Original message --------
>From: Markus Jansen <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: make failure - OSF1 V4.0 878 alpha
>Date: 06-11-03 23:49
>
>> Hi Neil,
>
>I had a similar problem on HP-UX - I had to specify
>&quot;-Wp,-H1000000&quot;
>as an additional compiler flag, to tell the compiler to tell the cpp
>to augment its buffer to 1MByte (by far more than enough ...).
>
>Another problem I encountered was that myldr/Makefile.PL uses $(LD)
>where it should use $(CC) - Solaris doesn't complain but HP-UX does.
>Have a look at your cpp/cc manual pages.
>
>Unfortunately, I have built in the -Wp instruction into Perl itself,
>and due to some high workload, I did not have time to deliver a
>complete myldr/Makefile.PL patch to Autrijus - it currently looks like
>I won't have this time before July :-(.
>
>Best regards,
>
>Markus
>
>&gt;Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>&gt;List-Post: &lt;mailto:[EMAIL PROTECTED]&gt;
>&gt;List-Help: &lt;mailto:[EMAIL PROTECTED]&gt;
>&gt;Date: Wed, 11 Jun 2003 17:12:02 -0100
>&gt;From: &quot;Neil.shadrach&quot; &lt;[EMAIL PROTECTED]&gt;
>&gt;To: &lt;[EMAIL PROTECTED]&gt;
>&gt;Subject: make failure - OSF1 V4.0 878 alpha
>&gt;
>&gt;Any suggestions?
>&gt;
>&gt;# make
>&gt;cc -c -std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C
>&gt;-I/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE  main.c
>&gt;cc: Severe: An error occurred while attempting to read a source file:
>Input
>&gt;line too long for buffer.
>&gt;*** Exit 1
>&gt;Stop.
>&gt;*** Exit 1
>&gt;Stop.
>
>--
>Markus Jansen                      Senior IS/IT Support Engineer, EED/IT
>Ericsson Eurolab Deutschland GmbH  Email : [EMAIL PROTECTED]
>Ericsson Allee 1                   Phone : +49 2407 575 5157
>52134 Herzogenrath                 Fax   : +49 2407 575 7289
>Germany                            Mobile: +49 172 274 2003

--
Markus Jansen                      Senior IS/IT Support Engineer, EED/IT
Ericsson Eurolab Deutschland GmbH  Email : [EMAIL PROTECTED]
Ericsson Allee 1                   Phone : +49 2407 575 5157
52134 Herzogenrath                 Fax   : +49 2407 575 7289
Germany                            Mobile: +49 172 274 2003

Reply via email to