Alexander Pyhalov <[email protected]> wrote:
> The output is also not identical to Sun cpp.
Sure?
> For example,
> --- /usr/include/asm/byteorder.h (Sun cpp)
> +++ /usr/include/asm/byteorder.h (Schilix cpp)
> @@ -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;
This looks strange....
/usr/include/asm/byteorder.h is a direct copy of
usr/src/uts/intel/asm/byteorder.h.
cpp is not used to create that file and the content you are talking of
is not in that file.
Or are you givng the output from processing asm/byteorder.h with cpp?
In any case, I cannot see the content you send here.
>
> Also I have some issues with DTrace when I try to compile illumos-gate
> with this cpp:
>
> dtrace: failed to compile script ../port/threads/plockstat.d:
> "/usr/include/sys/int_types.h", line 75: typedef redeclared: int8_t
> dmake: Warning: Target `libc.so.1' not remade because of errors
> Current working directory
> /export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/usr/src/lib/libc/i386
> *** Error code 1
> The following command caused the error:
> cd i386; pwd; VERSION='illumos-9ef2834' dmake libc.so.1
>
>
> For now, Joyent cpp (I mean cpp which is found at Joyent illumos-extra
> tree, which is based on your version) is the best bet - at least it can
> be used to compile illumos-gate.
This cpp has been used to compile SchilliX-ON since September 2010 with
absolutely no problems. If you are able to report reproducable problems, you
are of course welcome.
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