[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] use XDR with GCL on Windows

From: Bill Page
Subject: [Gcl-devel] use XDR with GCL on Windows
Date: Tue, 24 Jun 2003 12:16:28 -0400

Mike Thomas,

As the windows guru for GCL I am addressing this to you,
but if anyone else has some ideas, please let me know.

My goal is to build Axiom to run under Windows using
MinGW and GCL. Tim Daly has provided several patches to
GCL 2.5.2 in order to support Axiom under linux. (See
cvs at tenkan.org) This works under linux.

I am able to compile GCL 2.5.2 under minGW without the
pathes. But Axiom apparently requires XDR (and a few
other changes). Apply one of the pathes, which inserts

  #define HAVE_XDR

into the mingw.h causes the compiler to attempt to
include the file rpc/rpc.h and related code. Unfortunately
the rpc.h that is part of MinGW does not include the
XDR functionality.

I got as far as downloading some rpc code that does include
XDR and *might* compile with MinGW


(which you recommended some time back)

but including the oncrpc headers in the GCL o/makefile leads
to some warnings of incompatible definitions (which can be
fixed) and finally to a gcc compiler message that I don't

  gcc -c -Wall -fwritable-strings -DVOL=volatile -fsigned-char
-march=i386  -I/home/axiomgnu/new/lsp/gcl-2.5.2/o  -I../h -I../gcl-tk -I
/c/oncrpc funlink.c  
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccwtaaaa.s: Assembler messages:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccwtaaaa.s:9048: Error: length of
.comm "_D" is already 16; not changing to 528


So, where should I go from here? Has anyone successfully built
GCL for windows with rpc and XDR? Should I start with some
other source code for rpc that would be more compatible with
MinGW? Is there a way to avoid the compiler error? Other ideas?


Bill Page.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]