Alexander Pyhalov <[email protected]> wrote:

> On 02/10/2015 17:22, Joerg Schilling wrote:
>
> > Try to keep the
> >
> > # <linenumber> "filename" <number>
> >
> > lines intact and check again.
> >
> > The second number is used by dtrace and this is why we need the special K&R 
> > cpp.
>
> I see only differences:
> somewhere Sun cpp provides one additional number in line number:
> # 1 "/usr/include/sys/int_types.h" 1
> and some "idents" provided by Sun cpp are replaced by "pragma ident" -
> #ident "%Z%%M% %I%     %E% SMI"
> vs
> #pragma ident  "%Z%%M% %I%     %E% SMI"
> lines.
>
> The whole diff is the following : 
> http://buildzone.oi-build.r61.net/cpp-s/sun_schilix.diff

Looks like you did not use the right makefile to compile cpp....

CPPOPTS +=      -Dunix=1                # Compile for UNIX environment
CPPOPTS +=      -DFLEXNAMES             # Allow long identifier names
CPPOPTS +=      -DSUN_SAYLINE           # Add enter/leave note to # line
CPPOPTS +=      -DUSE_LARGEFILES

is needed in special -DSUN_SAYLINE

BTW: if you use the make environment from schilytools, this will be done by 
default.

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to