On Mar 10, 2005, at 10:27 AM, Jwahar Bammi wrote:
Thanks Curt, its getting better all the time. Appreciate your efforts.
Got a really clean build & test on Linux (fedora 3) and WinXP/vc-7
(yes some of us still have to deal with these ugly OSs :-)
On the Mac (bought a mac mini!) (not using Xcode), built latest apr,
grabbed gnu sed using fink, got a almost clean build and test, 2
failures. I have not had the time to look at the failures closely.
I've reworked (but not yet committed) the sed invocation code so that
it will work with the stock Mac sed. I'm getting one failure,
DateTimeDateFormatTestCase::test7 which checks if you change the locale
using std::locale::global(std::locale("fr-FR")) that "April" is
abbreviated "avr".
I should probably rewrite all the date format tests so they do not rely
on fixed strings but compare against the output from equivalent STL
code.
Question: trying to build on Cygwin: how do you convince ant that this
is not a windows machine, and to treat it like unix. i used
-Dcompiler=gcc, but that only solves the problem of it trying to use
CL to compile. Not being an ant expert, i have not figured it out. Any
hints appreciated.
I was going to try MinGW first, but haven't gotten to it. So is Ant
successfully invoking gcc, but the compiler flags and libraries are set
for a Windows configuration? If so, then all we would need is to
provide a way to override the platform detection code in the build
script. Experiment by hard-coding the platform detection to unix:
<target name="os-detect">
+ <property name="is-unix" value="true"/>
- <condition property="is-unix" value="true">
- <os family="unix"/>
- </condition>
- <condition property="is-windows" value="true">
- <os family="windows"/>
- </condition>
</target>
if that is sufficient, I can rework the target so that you can
explicitly specify the platform like:
ant -Dcompiler=gcc -Dis-unix=true
This discussion would probably be better on log4cxx-dev.
|