axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: Axis C++ Solaris port
Date Thu, 09 Sep 2004 10:03:03 GMT
--- damitha@opensource.lk wrote:

> Can we keep the same build.xml  and diferent property files for different
> platforms

Yes.

Samisa...

> thanks
> damitha
> >
> >
> >
> >
> > Hi,
> >
> > I have just this week created an ANT script in CVS, which supports
> > Windows,
> > Linux and AIX.   This can be found in CVS at ws-axis/c/build.xml
> >
> > I am still producing documentation on use and extension of this script,
> > though there is some initial documentation at the top of the build.xml
> > script.
> >
> > In short summary, you will need to carry out the following:
> >    Create additional compiler and linker definitions for the solaris
> >    platform - with all the required flags that you have determined.
> >    Add references to these in the <cc> tasks of compileAxisClient,
> >    compileAxisTransport and compileAxisXMLParser targets.
> >    Update the pre-init and intialize targets to be able to detect the
> >    solaris platform
> >    Create a build.solaris.properties file - use build.Linux.properties as
> > a
> >    template.
> > There are examples of all of these for Windows, Linux and AIX in the
> > script.
> >
> > Additionally, there is now also ws-axis/c/test.xml which generates,
> > compiles, and runs all the auto_build tests.  It would make sense to carry
> > out the above activities on this script also (both scripts use the same
> > property files)
> >
> > Thanks,
> >
> > Adrian
> > _______________________________________
> > Adrian Dick (adrian.dick@uk.ibm.com)
> >
> >
> >
> >
> >              Valentine
> >              Kouznetsov
> >              <vkuznet@yahoo.co                                          To
> >              m>                        Apache AXIS C Developers List
> >                                        <axis-c-dev@ws.apache.org>
> >              08-09-04 17:22                                             cc
> >
> >                                                                    Subject
> >              Please respond to         Re: Axis C++ Solaris port
> >               "Apache AXIS C
> >              Developers List"
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi Andrian,
> > if you can create a first draft of ant "makefile"
> > I can try on Solaris. I had little experience with ant
> > when dealing with Java and Axis.
> > Valentine
> >
> > --- Adrian Dick <adrian.dick@uk.ibm.com> wrote:
> >
> >>
> >>
> >>
> >>
> >> Hi,
> >>
> >> It would be advantageous to include the Solaris
> >> compile and link flags into
> >> the ant build script.  We found this got us round a
> >> number of difficulties
> >> with libtool, etc when porting to AIX.
> >>
> >> I'm willing to assist with this, but I don't have
> >> access to a solaris
> >> machine.
> >>
> >> Regards,
> >> Adrian
> >> _______________________________________
> >> Adrian Dick (adrian.dick@uk.ibm.com)
> >> WebSphere MQ and ESB Development
> >> Tel: +44-(0)-1962-819212
> >> Notes: Adrian Dick/UK/IBM@IBMGB
> >>
> >>
> >>
> >>
> >>              Valentine
> >>
> >>              Kouznetsov
> >>
> >>              <vkuznet@yahoo.co
> >>                    To
> >>              m>                        Apache AXIS C
> >> Developers List
> >>
> >> <axis-c-dev@ws.apache.org>
> >>              08-09-04 15:14
> >>                    cc
> >>
> >>
> >>
> >>               Subject
> >>              Please respond to         Re: Axis C++
> >> Solaris port
> >>               "Apache AXIS C
> >>
> >>              Developers List"
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hi Damitha,
> >> I'm not sure if option --with-solaris would be
> >> valuable. May be as a temporary solution. I had so
> >> many problems with
> >> libtool/aclocal/autoheader/automake
> >> tools. By default the didn't produce desired
> >> Makefiles. Configure fail on the tests and I was
> >> forced to tweake it as well.
> >> My next task is to fix this problem.
> >> Regarding SolarisDefs.hpp, yes it's only happens if
> >> xerces is enable. But I think we need it since users
> >> may be willing to compile Axis/Xerces on Solaris.
> >> Even
> >> I didn't use it I compile it.
> >> Valentin.
> >>
> >> --- damitha kumarage <damitha@opensource.lk> wrote:
> >>
> >> > Hi Valentine
> >> >
> >> > > Dear Axis developers,
> >> > > I successfully ported Axis to Solaris and
> >> verified
> >> > > that my client code is working properly similar
> >> to
> >> > > Linux. I've spent some time to figure out
> >> > appropriate
> >> > > options for Solaris platform which will allow
> >> Axis
> >> > to
> >> > > compile. I used Solaris 2.8, with native CC/cc
> >> > C++/c
> >> > > compilers. The compiler options was choosen to
> >> > allow
> >> > > global instantiation of templates.
> >> > >
> >> > > Here they are:
> >> > > CXXFLAGS=" -KPIC -xildoff -pta -instances=global
> >> "
> >> > > CFLAGS="-DENABLE_AXIS_EXCEPTION
> >> > -DENABLE_AXISTRACE"
> >> > > CPPFLAGS="-DENABLE_AXIS_EXCEPTION
> >> > -DENABLE_AXISTRACE"
> >> > > LDFLAGS = "-Qoption ld -zmuldefs"
> >> > > and need to be setup in configure.ac
> >> >
> >> > Is it OK if i add a comiler option to support
> >> > different platforms.
> >> > eg: configure --with-solaris etc
> >> >
> >> > >
> >> > > I used libtool-1.5.8, autoconf-2.59,
> >> > automake-1.9.1
> >> > >
> >> > > All patches done wrt axis-c-src-1-2-linux (sorry
> >> I
> >> > > just don't have time to test development
> >> release).
> >> > > I also created SolarisDefs.hpp file similar to
> >> > > LinuxDefs.hpp. I just copied content of endian.h
> >> > and
> >> > > LinuxDefs.hpp into SolarisDefs.hpp and it works
> >> > (on
> >> > > Solaris there is no endian.h).
> >> > > Finally, I was need to rebuild libaxis_expat.so
> >> > and
> >> > > add there StartElement.o, Event.o, Element.o.
> >> >
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

Mime
View raw message