apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: Fix build on amd64 platform by importing new config.{guess,sub}
Date Thu, 19 Feb 2004 23:15:19 GMT
On Wed, 18 Feb 2004 22:41:00 +0000, Joe Orton wrote:

>On Thu, Feb 19, 2004 at 09:11:40AM +1000, Brian Havard wrote:
>> >Some of these platforms are probably already broken with the new
>> >gen-build changes since build-outputs.mk doesn't know about $(OSDIR).
>> Yeah, I noticed the build was broken on OS/2, tries to compile
>> dso/unix/dso.c.
>> So how do you test for the platform in python? Obviously gen-build.py's
>> get_platform() needs some work...
>I think the {platform} thing in build.conf in general needs some work...
>> The script also needs to be smarter in that the OSDIR is optional, falling
>> back to unix if there's no OSDIR (EG apr/memory) which doesn't happen if I
>> simply change get_platform() to return "os2".
>Really gen-build.py needs to create a build-outputs.mk which is
>appropriate for all platforms which use configure & Makefile, with an
>OBJECTS which uses $(OSDIR) and $(DEFAULT_OSDIR) as determined by
>configure (though since DEFAULT_OSDIR is a constant for the Unix build
>system that could be eliminated).

Ah yes, I was forgetting that gen-build.py's output needs to work on all
platforms, not just the one it's run on so its get_platform() won't help.

I'll have a look at it if I get some time though I don't know much

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |

View raw message