Alexander Pyhalov <[email protected]> wrote: > > 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.
OK, so we can conclude that the original Schily cpp is able to compile OpenSolaris-ON and forks from OpenSolaris since September 2010. > Now it would be good to make it work when compiled with gcc :) What is your problem with GCC compilation? I have no problem with compiling it usuing GCC. I recently added some small changes to allow compilation with clang (this is in cpp.c SCCS SID version 1.30). Note that you need the schily printf() code as Illumos does not support %r in the libc printf. 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
