Alexander Pyhalov <[email protected]> wrote:
> /usr/lib/cpp -V
> cpp: Software Generation Utilities (SGU) SunOS/SVR4
I get the same text, but different results than you seem to get.
ls -l /tmp/cpp
-rwxr-xr-x 1 joerg other 69140 Feb 19 2009 /tmp/cpp
size /tmp/cpp
57563 + 9973 + 32615 = 100151
what /tmp/cpp
/tmp/cpp:
open.c 1.1 96/06/07 Copyright 1986 Sun Micro
vroot.c 1.1 96/06/07 SMI
> $ /usr/lib/cpp /usr/include/asm/byteorder.h >/tmp/sun.cpp
> "/usr/include/sys/isa_defs.h", line 476: undefined control
>
> $ ./build/prototype/i386/usr/lib/cpp /usr/include/asm/byteorder.h >
> /tmp/s.cpp
>
> $ sed -i -e '/^#/d' -e '/^$/d' /tmp/sun.cpp
> $ sed -i -e '/^#/d' -e '/^$/d' /tmp/s.cpp
>
> $ diff -u /tmp/sun.cpp /tmp/s.cpp
> --- /tmp/sun.cpp 2015-02-09 20:28:13.113917923 +0300
> +++ /tmp/s.cpp 2015-02-09 20:28:16.843525501 +0300
> @@ -1,4 +1,6 @@
> -typedef signed char int8_t;
> +typedef struct _label_t { long val[6]; } label_t;
> +typedef unsigned char lock_t;
> +typedef char int8_t;
> typedef short int16_t;
> typedef int int32_t;
> typedef long long int64_t;
> @@ -10,7 +12,7 @@
> typedef uint64_t uintmax_t;
> typedef int intptr_t;
> typedef unsigned int uintptr_t;
> -typedef signed char int_fast8_t;
> +typedef char int_fast8_t;
Thank you again. Now it seems that we need to find whether the suncpp you are
using is really the same as I do or whether you use something newer.
It would help if you could try to find out why your version of suncpp with your
version of the include files outputs:
typedef signed char int_fast8_t;
Maybe, you could also run "strings" on it to find for possible predefined
values.
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