Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 99574 invoked from network); 6 Feb 2004 20:37:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Feb 2004 20:37:52 -0000 Received: (qmail 90416 invoked by uid 500); 6 Feb 2004 20:37:25 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 90344 invoked by uid 500); 6 Feb 2004 20:37:24 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 90289 invoked from network); 6 Feb 2004 20:37:24 -0000 Received: from unknown (HELO goliath.cnchost.com) (207.155.252.47) by daedalus.apache.org with SMTP; 6 Feb 2004 20:37:24 -0000 Received: from rcsv650.rowe-clan.net (www1.rowe-clan.net [208.176.192.146]) by goliath.cnchost.com id PAA00501; Fri, 6 Feb 2004 15:37:28 -0500 (EST) [ConcentricHost SMTP Relay 1.16] Errors-To: Message-Id: <6.0.2.0.2.20040206131134.05097760@pop3.rowe-clan.net> X-Sender: wrowe%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 6.0.2.0 Date: Fri, 06 Feb 2004 13:12:28 -0600 To: dev@httpd.apache.org From: "William A. Rowe, Jr." Subject: Re: frustrating build experience *nix/windows In-Reply-To: <4023E0A1.9070105@secured-services.com> References: <4023B666.5040006@secured-services.com> <6.0.2.0.2.20040206100917.04ec0e68@pop3.rowe-clan.net> <4023E0A1.9070105@secured-services.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If I grok what you are asking.... .... it would be nice if win32, too, would support VPATH builds with a --srcdir like argument - and throw it's generated files in another directory tree. Did I get the point? This seems doable. Bill At 12:44 PM 2/6/2004, you wrote: >William A. Rowe, Jr. wrote: > >>At 09:44 AM 2/6/2004, Aryeh Katz wrote: >> >>>In the 1.3 environment I was able to use the --shadow configure option to use the same source tree for multiple os's. This was quite valuable, as one source code change was needed for all platforms. >>>However, the --shadow option is gone in 2.0. >> >>.... >> >>>That's why there are two source packages, windows and UNIX. >> >>Actually that's not the reason. The two reasons are: >>1. line endings; msvc and msdev studio hate several files with unix line endings >> and either fail all together (nmake makefile) or produce erroneous results >> (emitted diagnostic line numbers from .c source files etc.) The win32 package >> uses srclib/apr/build/lineends.pl to mop text files from one to the other form. >> Unless you are using a linux toolchain, or working on a volume that supports >> two views of the same file (e.g. Cygwin 'DOS' mounted unix volumes) this >> issue seems that it would continue to plague you. >This might be the issue *nix to windows. I was having trouble the other direction. After my windows builds my *nix builds were toast. >>2. build files; this shouldn't be a hassle for you, it simply includes generated >> win32 exported makefiles and makefile dependencies from .pdb projects, along with the awk result .rc version files. These aren't present in the >> Unix build, and are honestly not required to build the project if you use >> Visual Studio later than version 5. >Actually, this was exactly my problem. >apr.h, apu.h and a whole bunch of other files were generated by windows (and at least I couldn't get it to clean up). Once those header files get included by the *nix packages (despite the fact they have working apr.h etc in their own tree), the sources won't compile. >-- >Aryeh Katz >SecureD Services >http://www.secured-services.com/ >410 653 0700 x 2