AbiWord 0.7.4, Solaris (2.6/Sparc), and gcc 2.95

Bryan Blackburn (blb@pobox.com)
Wed, 4 Aug 1999 15:34:56 -0600 (MDT)


A few notes on things I had to do to get AbiWord 0.7.4 to build on my
Solaris 2.6 system, with gcc 2.95 (which sure has gotten picky):

- added -D__EXTENSIONS__ to PORT_FLAGS in src/config/platform/sunos.mk.
(it seems string.h only defines strdup, and others, in certain
circumstances, defining __EXTENSIONS__ takes care of it)

- need to cast a few strings to void *:
src/af/xap/unix/xap_UnixPSGraphics.cpp line 586
src/wp/ap/unix/ap_UnixClipboard.cpp lines 39-44
src/wp/ap/unix/ap_UnixToolbar_StyleCombo.cpp lines 61-66
src/wp/ap/unix/ap_UnixToolbar_SizeCombo.cpp lines 57-72
src/wp/ap/unix/ap_UnixToolbar_ZoomCombo.cpp lines 57-62

- need to run wv/configure manually, as when it's run from the Makefile,
it doesn't pass a CC argument, causing wv/configure to find the wrong
cc (/usr/ucb/cc which doesn't do anything useful).

I'm guessing the first two may be related to using gcc 2.95, and the third
a Solaris thing (because of cc).

Bryan



This archive was generated by hypermail 1.03b2.