You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Anatoly Gutnick <an...@gmail.com> on 2007/01/20 19:35:46 UTC

how to compile axis C++ with VS 2003 or VS 2005?

Hi,

i am able to build Axis C++ client using ANT based build 
http://ws.apache.org/axis/cpp/antbuild-guide.html

I have Microsoft Visual C++ v6 installed on by build machine.
This compiler is used as i understand by default.

I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8) isntalled on the same machone. 

I would like to use VS2003 or VS2005 compiler instaed of VS6,
what i have to do?

Thanks,
Anatoly

Re: how to compile axis C++ with VS 2003 or VS 2005?

Posted by Fred Preston <PR...@uk.ibm.com>.
Hi Anatoly,
        If you are using the ANT scripts then your build should be the 
'same' as the Apache build.  The Apache build is from March last year and 
was built on VC6.  It is very possible that the build scripts and the 
number of files/complexity have changed since then, but this is a rather 
large increase.  It might be worth polling others to see what size their 
own built libraries are to see if yours is exceptional.  The last Apache 
build I have is from June 2006.  Here are my files sizes:-

Non Trace
AxisClient              196 Kb
AxisXMLParserXerces     17 Kb
HTTPChannel             12 Kb
HTTPTransport           24 Kb

Traced
AxisClient              297 Kb
AxisXMLParserXerces     20 Kb
HTTPChannel             15 Kb
HTTPTransport           29 Kb

I then found another build from November, but I don't know if it was built 
with VC6 or VC7, etc.
AxisClient              920 Kb
AxisXMLParserXerces     72 Kb
HTTPChannel             52 Kb
HTTPTransport           96 Kb

I haven't build Axis for a while so my information is not very up-to-date.

Regards,

Fred Preston.




"Anatoly Gutnick" <an...@gmail.com> 
22/01/2007 17:03
Please respond to
"Apache AXIS C Developers List" <ax...@ws.apache.org>


To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc

Subject
Re: how to compile axis C++ with VS 2003 or VS 2005?






Thanks for reply.
 
I compiled with VS6, VS7 and VC8
 
The stnange thing is that the size of the binary dlls is much less then 
one i downloaded from 
http://www.apache.org/dist/ws/axis-c/binaries/win32/
 
For example, axis-c-1.6b-Win32-trace-bin contains axis_client.dll with 
size 905kB
 
And the file generated by my compilation by VC6 from sources downloaded 
axis-c-1.6b-Win32-trace-src
axis_client.dll with size 520kB
 
The binaries for Windows provided for download are generated by VC6 or 
VC7?
I am afraid that something wrong here
 
Thanks,
Anatoly.
 


2007/1/22, Adrian Dick <ad...@uk.ibm.com>: 
Hi,

The ANT based build should already work with VS7.

I know there are some minor differences between that and VS8 which need to 

be catered for in the scripts, but to my knowledge no-one has had an
opportunity to resolve these.  If you're in a position to create these
fixes, posting them back here, we could see about getting them included. 


Regards,
Adrian
_______________________________________
Adrian Dick (adrian.dick@uk.ibm.com)


"Anatoly Gutnick" < anatolyg@gmail.com> wrote on 20/01/2007 18:35:46:

> Hi,
>
> i am able to build Axis C++ client using ANT based build
> http://ws.apache.org/axis/cpp/antbuild-guide.html 
>
> I have Microsoft Visual C++ v6 installed on by build machine.
> This compiler is used as i understand by default.
>
> I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8)
> isntalled on the same machone. 
>
> I would like to use VS2003 or VS2005 compiler instaed of VS6,
> what i have to do?
>
> Thanks,
> Anatoly


--------------------------------------------------------------------- 
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org 



Re: how to compile axis C++ with VS 2003 or VS 2005?

Posted by Anatoly Gutnick <an...@gmail.com>.
Thanks for reply.

I compiled with VS6, VS7 and VC8

The stnange thing is that the size of the binary dlls is much less then one
i downloaded from
http://www.apache.org/dist/ws/axis-c/binaries/win32/

For example, axis-c-1.6b-Win32-trace-bin contains axis_client.dll with size
905kB

And the file generated by my compilation by VC6 from sources downloaded
axis-c-1.6b-Win32-trace-src
axis_client.dll with size 520kB

The binaries for Windows provided for download are generated by VC6 or VC7?
I am afraid that something wrong here

Thanks,
Anatoly.



2007/1/22, Adrian Dick <ad...@uk.ibm.com>:
>
> Hi,
>
> The ANT based build should already work with VS7.
>
> I know there are some minor differences between that and VS8 which need to
> be catered for in the scripts, but to my knowledge no-one has had an
> opportunity to resolve these.  If you're in a position to create these
> fixes, posting them back here, we could see about getting them included.
>
>
> Regards,
> Adrian
> _______________________________________
> Adrian Dick (adrian.dick@uk.ibm.com)
>
>
> "Anatoly Gutnick" <an...@gmail.com> wrote on 20/01/2007 18:35:46:
>
> > Hi,
> >
> > i am able to build Axis C++ client using ANT based build
> > http://ws.apache.org/axis/cpp/antbuild-guide.html
> >
> > I have Microsoft Visual C++ v6 installed on by build machine.
> > This compiler is used as i understand by default.
> >
> > I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8)
> > isntalled on the same machone.
> >
> > I would like to use VS2003 or VS2005 compiler instaed of VS6,
> > what i have to do?
> >
> > Thanks,
> > Anatoly
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>

Re: how to compile axis C++ with VS 2003 or VS 2005?

Posted by Anatoly Gutnick <an...@gmail.com>.
Thanks for reply.

I compiled with VS6, VS7 and VC8

The stnange thing is that the size of the binary dlls is much less then one
i downloaded from
http://www.apache.org/dist/ws/axis-c/binaries/win32/

For example, axis-c-1.6b-Win32-trace-bin contains axis_client.dll with size
905kB

And the file generated by my compilation by VC6 from sources downloaded
axis-c-1.6b-Win32-trace-src
axis_client.dll with size 520kB

The binaries for Windows provided for download are generated by VC6 or VC7?
I am afraid that something wrong here

Thanks,
Anatoly.


2007/1/22, Fred Preston <PR...@uk.ibm.com>:
>
>
> Hi Anatoly,
>         The compiler and linker executable used depends on what is on your
> PATH environment variable.  What headers and libraries are used depends on
> what paths are in your INCLUDE and LIB (I think these names are correct,
> double check with the Microsoft docs) environment variables.  The MVS8
> compiler has deprecated all (as far as I can see) of the old string
> manipulation functions as well as printf, etc.  You will either have to put
> up with these warnings or hide them using the appropriate compiler pragma.
>  As far as I know, no 'official' testing has been done with MVS8 so there
> may be more undiscovered problems... (i.e. I think you will also have to
> be careful of DBC (i.e. some functions wanting to use wchar_t instead of
> char), but this may be down to compiler options.)
>
> Regards,
>
> Fred Preston.
>
>
>
>   *"Anatoly Gutnick" <an...@gmail.com>*
>
> 20/01/2007 18:35   Please respond to
> "Apache AXIS C Developers List" <ax...@ws.apache.org>
>
>    To
> <ax...@ws.apache.org>  cc
>   Subject
> how to compile axis C++ with VS 2003 or VS 2005?
>
>
>
>
> Hi,
>
> i am able to build Axis C++ client using ANT based build
> *http://ws.apache.org/axis/cpp/antbuild-guide.html*<http://ws.apache.org/axis/cpp/antbuild-guide.html>
>
> I have Microsoft Visual C++ v6 installed on by build machine.
> This compiler is used as i understand by default.
>
> I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8) isntalled on
> the same machone.
>
> I would like to use VS2003 or VS2005 compiler instaed of VS6,
> what i have to do?
>
> Thanks,
> Anatoly
>

Re: how to compile axis C++ with VS 2003 or VS 2005?

Posted by Fred Preston <PR...@uk.ibm.com>.
Hi Anatoly,
        The compiler and linker executable used depends on what is on your 
PATH environment variable.  What headers and libraries are used depends on 
what paths are in your INCLUDE and LIB (I think these names are correct, 
double check with the Microsoft docs) environment variables.  The MVS8 
compiler has deprecated all (as far as I can see) of the old string 
manipulation functions as well as printf, etc.  You will either have to 
put up with these warnings or hide them using the appropriate compiler 
pragma.  As far as I know, no 'official' testing has been done with MVS8 
so there may be more undiscovered problems... (i.e. I think you will also 
have to be careful of DBC (i.e. some functions wanting to use wchar_t 
instead of char), but this may be down to compiler options.)

Regards,

Fred Preston.




"Anatoly Gutnick" <an...@gmail.com> 
20/01/2007 18:35
Please respond to
"Apache AXIS C Developers List" <ax...@ws.apache.org>


To
<ax...@ws.apache.org>
cc

Subject
how to compile axis C++ with VS 2003 or VS 2005?






Hi,
 
i am able to build Axis C++ client using ANT based build 
http://ws.apache.org/axis/cpp/antbuild-guide.html
 
I have Microsoft Visual C++ v6 installed on by build machine.
This compiler is used as i understand by default.
 
I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8) isntalled on 
the same machone. 
 
I would like to use VS2003 or VS2005 compiler instaed of VS6,
what i have to do?
 
Thanks,
Anatoly

Re: how to compile axis C++ with VS 2003 or VS 2005?

Posted by Adrian Dick <ad...@uk.ibm.com>.
Hi,

The ANT based build should already work with VS7.

I know there are some minor differences between that and VS8 which need to
be catered for in the scripts, but to my knowledge no-one has had an
opportunity to resolve these.  If you're in a position to create these
fixes, posting them back here, we could see about getting them included.


Regards,
Adrian
_______________________________________
Adrian Dick (adrian.dick@uk.ibm.com)


"Anatoly Gutnick" <an...@gmail.com> wrote on 20/01/2007 18:35:46:

> Hi,
>
> i am able to build Axis C++ client using ANT based build
> http://ws.apache.org/axis/cpp/antbuild-guide.html
>
> I have Microsoft Visual C++ v6 installed on by build machine.
> This compiler is used as i understand by default.
>
> I have Visual Studio 2003 (VS7)and Visual Studio 2005 (VS8)
> isntalled on the same machone.
>
> I would like to use VS2003 or VS2005 compiler instaed of VS6,
> what i have to do?
>
> Thanks,
> Anatoly


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org