Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Dan Poirier

William A. Rowe, Jr. said the following on 11/03/2008 07:32 AM:

But studio (or eclipse or codewarrior or [name your IDE]) users would
appreciate a perspective into the sources.  The IDE-accessible nature
of the original Win32 port is what made it so easy for me to jump in,
understand and substantially refactor the win32 support.  Without the
IDE view, would I have done that?  Maybe - but at that time in my
development patterns - more likely not.

Lets look to supporting [name your favorite IDE] as a bigger picture
item not specific to windows, and to transition away from .dsp for
the build/ide view support.


I'm still getting my head around how all the parts of Apache work 
together, and would love to be able to dive into it using Eclipse and 
explore.  The advantage of Eclipse would be that it's more 
cross-platform than most of the alternatives that I'm aware of.


Re: windows, aren't there one or more ports of gcc?  Would something 
like that be worth considering as a more stable build solution than MS's 
tools?


Dan



Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Marc Noirot
William A. Rowe, Jr. said the following on 11/03/2008 07:32 AM:
 Lets look to supporting [name your favorite IDE] as a bigger picture
 item not specific to windows, and to transition away from .dsp for
 the build/ide view support.

What about going one step further and using a tool
able to generate Makefiles and IDE files for [name some of your favorite IDEs] ?

I'm thinking about something like CMake, which is able to target
the following environments on Windows :
# Borland Makefiles
# MSYS Makefiles
# MinGW Makefiles
# NMake Makefiles
# Unix Makefiles
# Visual Studio 6
# Visual Studio 7
# Visual Studio 7 .NET 2003
# Visual Studio 8 2005
# Visual Studio 8 2005 Win64
# Visual Studio 9 2008
# Visual Studio 9 2008 Win64
# Watcom WMake
# CodeBlocks - MinGW Makefiles
# CodeBlocks - Unix Makefiles
# Eclipse CDT4 - MinGW Makefiles
# Eclipse CDT4 - NMake Makefiles
# Eclipse CDT4 - Unix Makefiles

--
Marc Noirot
http://www.apachefrance.com/


Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Bing Swen

Dan Poirier [EMAIL PROTECTED] wrote on 2008-11-3 21:13


William A. Rowe, Jr. said the following on 11/03/2008 07:32 AM:


Lets look to supporting [name your favorite IDE] as a bigger picture
item not specific to windows, and to transition away from .dsp for
the build/ide view support.


Re: windows, aren't there one or more ports of gcc?  Would something like 
that be worth considering as a more stable build solution than MS's tools?


There is a runtime library issue. Most GCC ports do not generate object code 
that can be linked with the necessary WinAPI runtime lib's. e.g, httpd needs 
to link to lots of MS C startup libraris to use the file system, socket API, 
IOCP, etc.


Bing 





Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Bing Swen

Marc Noirot [EMAIL PROTECTED] wrote on 2008-11-3 22:06


William A. Rowe, Jr. said the following on 11/03/2008 07:32 AM:

Lets look to supporting [name your favorite IDE] as a bigger picture
item not specific to windows, and to transition away from .dsp for
the build/ide view support.


What about going one step further and using a tool
able to generate Makefiles and IDE files for [name some of your favorite 
IDEs] ?


I'm thinking about something like CMake, which is able to target
the following environments on Windows :
# Borland Makefiles
# MSYS Makefiles
# MinGW Makefiles
# NMake Makefiles
# Unix Makefiles
# Visual Studio 6
# Visual Studio 7
# Visual Studio 7 .NET 2003
# Visual Studio 8 2005
# Visual Studio 8 2005 Win64
# Visual Studio 9 2008
# Visual Studio 9 2008 Win64
# Watcom WMake
# CodeBlocks - MinGW Makefiles
# CodeBlocks - Unix Makefiles
# Eclipse CDT4 - MinGW Makefiles
# Eclipse CDT4 - NMake Makefiles
# Eclipse CDT4 - Unix Makefiles

--
Marc Noirot


This seems overwhelming. So it seems possible for httpd to have a 
one-to-fit-all IDE project file generator? Then everyone will have a 
happy ending...


Bing





Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread William A. Rowe, Jr.
Jorge Schrauwen wrote:

 I compiled them on vs2008 IIRC (not sure only boot into the vm when
 need to compile)
 Sadly the exact same version is needed or else it refuses to load.
 That is what wrowe mentioned above with all the minor version bumps
 here and there.

Precisely.  Also note; VC2008 studio file cannot load in studio 2005.
This might also be true of SP bumps.

Today, it's VC6 dsw/dsp's only because that was the last version able
to export a set of non-studio Makefiles.  If we eliminate the need to
export win32's makefiles, we eliminate dsp's altogether.

So as far as .sln's are concerned, if we can emit, from our build
schema, either .vcproj elements or makefiles or both, then we can
forever drop VC6 files.  VC6 certainly would still compile, but using
the command line.  I can't seriously believe that we should support
the IDE itself forever.

But studio (or eclipse or codewarrior or [name your IDE]) users would
appreciate a perspective into the sources.  The IDE-accessible nature
of the original Win32 port is what made it so easy for me to jump in,
understand and substantially refactor the win32 support.  Without the
IDE view, would I have done that?  Maybe - but at that time in my
development patterns - more likely not.

Lets look to supporting [name your favorite IDE] as a bigger picture
item not specific to windows, and to transition away from .dsp for
the build/ide view support.

Bill


Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Graham Leggett

Marc Noirot wrote:


What about going one step further and using a tool
able to generate Makefiles and IDE files for [name some of your favorite IDEs] ?


+1.

Binding httpd to one IDE significantly reduces the developer audience, 
it would help a lot if Windows could have the same autoconf ability that 
the Unix build has had for years.


Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Roy T. Fielding

On Nov 3, 2008, at 6:06 AM, Marc Noirot wrote:


What about going one step further and using a tool
able to generate Makefiles and IDE files for [name some of your  
favorite IDEs] ?


I'm thinking about something like CMake ...


http://lwn.net/Articles/188693/
http://www.cmake.org/

+1

But it still requires folks to do the work.  Hackathon?

Roy



Re: httpd win64 project sources/makefiles [was:...binaries]

2008-11-03 Thread Jorge Schrauwen
cmake seems very interesting.
I'd like to help if you go that path, not sure I'll be of much use though.

~Jorge



On Mon, Nov 3, 2008 at 6:42 PM, Roy T. Fielding [EMAIL PROTECTED] wrote:
 On Nov 3, 2008, at 6:06 AM, Marc Noirot wrote:

 What about going one step further and using a tool
 able to generate Makefiles and IDE files for [name some of your favorite
 IDEs] ?

 I'm thinking about something like CMake ...

 http://lwn.net/Articles/188693/
 http://www.cmake.org/

 +1

 But it still requires folks to do the work.  Hackathon?

 Roy