We do not have a "How to build XML4C" section in the documentation yet,
apparently since it is very simple with autoconf and gmake. It is a god
idea to maintain an FAQ if it is very common topic and people would like to
have it referenced. I could incorrporate this FAQ into the main Xerces-C
documentation when it is mature enough.

In short, the few commands on UNIX machines is as follows:

In the xml4c directory, type:


cd src
automake
runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
gmake
cd ../samples
automake
runConfigure -plinux -cgcc -xg++
gmake

The complete runConfigure options are:

runConfigure "options"
       where options may be any of the following:
       -p <platform> (accepts 'aix', 'linux', 'solaris', 'hp-10', 'hp-11',
'irix')
       -c <C compiler name> (e.g. gcc, cc, xlc)
       -x <C++ compiler name> (e.g. g++, CC, xlC)
       -d (specifies that you want to build debug version)
       -m <message loader> can be 'inmem', 'icu', 'iconv'
       -n <net accessor> can be 'fileonly', 'libwww'
       -t <transcoder> can be 'icu' or 'native'
       -r <thread option> can be 'pthread' or 'dce' (only used on HP-11)
       -l <extra linker options>
       -z <extra compiler options>
       -h (to get help on the above commands)

"automake" needs to be run only once on any platform and can also be
skipped.


On windows, just double click on the dsw file, and compile XercesLib and
the rest of the samples.


- Anupam
===========================================================
Anupam Bagchi
Advisory Software Engineer
Phone: (408)777-5842               Fax: (408)777-5892
XML Development Group, IBM Cupertino, California


"G. Hussain Chinoy" <[EMAIL PROTECTED]> on 12/13/99 01:49:39 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Need HELP: How to make Makefile on NT?




Related, is there a How To Build help FAQ around for the different
platforms and test suites?  It'd be great to have links to pertinent
programs (cywin, etc).  I'd be willing to maintain/compile such a FAQ.

H

-----------------------------------------
G. Hussain Chinoy
[EMAIL PROTECTED]
Chief Information Architect, CEO
Granularity Information Architecture, Inc.
http://www.granularity.com/

PGP key: http://www.granularity.net/~hussain/

On Mon, 13 Dec 1999, srinu pagan wrote:

> Hi All,
> I'm new to the XML world; for that, I'm new to whole
> programming world.But I think I've got genuine
> question.
>
> I'm trying to compile the Java files on NT.I've
> downloaded the build files and it has got a
> "MakeFile",but I'm not sure how to make "MakeFile".I
> dont have any nmake utility.
>
> I would appreciate any suggestions towards this.
> I've java1.2 and Visual Cafe 3.0 on my system.
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
>




Reply via email to