On 02/10/2015 17:41, Joerg Schilling wrote:
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
Thanks. It was the case.
Now it would be good to make it work when compiled with gcc :)
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department
-------------------------------------------
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