uname -a: HP-UX fronsac B.10.20 A 9000/782 2015948519 two-user license
./configure '--site-libraries=/home/cognot/APPS/lib/hp700 /opt/audio/lib'
'--site-includes=/home/cognot/APPS/include /opt/audio/include'
'--debug=no' '--compiler=cc -Ae' '--cflags=-D_HPUX_SOURCES +DA782
+DS782' '--dynamic' '--x-libraries=/usr/lib/X11R6
-L/usr/lib/Motif1.2_R6' '--x-includes=/usr/include/X11R6
-I/usr/include/Motif1.2_R6' '--prefix=/usr/local/XE21.2'
XEmacs 21.2-b19 "Shinjuku" configured for `hppa2.0-hp-hpux10.20'.
Where should the build process find the source code?
/usr/local/src/xemacs-21.2.19/xemacs
What installation prefix should install use? /usr/local/XE21.2
What operating system and machine description files should XEmacs use?
`s/hpux10-shr.h' and `m/hp800.h'
What compiler should XEmacs be built with? cc -Ae -D_HPUX_SOURCES +DA782
+DS782
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/include/X11R6 -I/usr/include/Motif1.2_R6 /usr/contrib/X11R6/include
Where do we find X Windows libraries? /usr/dt/lib /usr/lib/X11R6
-L/usr/lib/Motif1.2_R6 /usr/contrib/X11R6/lib
Additional header files: /home/cognot/APPS/include
/opt/audio/include
Additional libraries: /home/cognot/APPS/lib/hp700
/opt/audio/lib
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for DBM.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in EXPERIMENTAL support for Drag'n'Drop ( CDE ).
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif native widgets.
Using Motif dialog boxes.
Compiling in DSO module support.
movemail will use "dot-locking" for locking mail spool files.
There are some minor changes needed to compile, due to what I think
are shortcomings of the HP ANSI C compiler. Trouble is, I've been away
from beta testing for so long that I don't know what the policy for
sending patches is currently ;-).
Two files need patching:
glyphs-x.c: 4 instances where IMAGE_INSTANCE_X_MASK is used like this:
IMAGE_INSTANCE_X_MASK (p) = <something>;
The HP compiler gives this:
Pixmap p ;
void *val ;
val = (void*) p ; // correct.
(Pixmap)val = p ; // Wrong: Modifiable lvalue required for assignment operator
(around lines 405, 843, 1375, 1981).
redisplay-output.c: 2 instances where a struct is initialized from
runtime computed values, which the compiler chokes on. (around lines
1240: struct display_box ,1248: struct display_glyph_area).
I've #ifdef'ed the changes I made for HPUX10, but they should be safe
for any compiler, although they may lead to additionnal warnings about
conversions between pointers/integer in glyphs-x.c. Should I send the
diff file with the ifdefs, without?
Richard.
--
|-------------------------------------------------------------|
| Richard Cognot | Proceed, with fingers crossed... |
| | /\^^/\ |
| <cognot(a)ensg.u-nancy.fr> | `' |
|-------------------------------------------------------------|
|
http://www.ensg.u-nancy.fr/~cognot |
|-------------------------------------------------------------|