logo       

Re: INSTALL and web site update`: msg#00037

Subject: Re: INSTALL and web site update`

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.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe