|
|
Sponsor |
RE: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin): msg#00004apache.logging.log4cxx.user
I cant say that I have compiled for a pure MingW environment, but I would pull the Cygnus libpthread for win32, specify that for thread and it should move the build ahead. Jwahar Bammi Memento, Inc. bammi@xxxxxxxxxxxxxxx -----Original Message----- From: Enno Borgsteede [mailto:ennoborg@xxxxxxxxx] Sent: Sunday, December 05, 2004 10:20 AM To: log4cxx-user@xxxxxxxxxxxxxxxxxx Subject: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin) Hi, I'm trying to build version 0.9.7 under MinGW on XP Home. I'm running MinGW with MSYS and msysDTK, not CYGWIN. Searching the list archive didn't provide a solution, so here's a summury of what I tried. 1. I found that configure can't figure out whether threads are available. It stops with an error, but I can avoid that by specifying --with-threads=no on the command line. 2. Then compilation stops, because the type int64_t is not recognized. I can cure that too, by defining int64_t as __int64 in config.h. 3. I can't easily get past the third hurdle, which is the compiler complaining that the thread() object does not exist. I can't find an easy cure for that, so I'm stuck here. I can think of several options, but maybe someone else has tried this before, and give me directions: 1. Is --with-threads=no the right choice? 2. I use the latest versions of MinGW and MSYS. Would it help if I upgrade the compiler? I prefer not to upgrade to cygwin, because I like the MinGW philosophy better. thanks, Enno -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 3-12-2004
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Memory leak: Windows DLL build only, Malcolm Melville |
|---|---|
| Next by Date: | RE: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin), Prosenjit Sinha |
| Previous by Thread: | Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin), Enno Borgsteede |
| Next by Thread: | RE: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin), Prosenjit Sinha |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|