X-Spam-Check-By: sourceware.org X-YMail-OSG: OJUOLlgVM1lp5vyN_tfftX3XvZuWahUO3.ZD0g_d7YGDeHaUtwnXccPl3GRUXgsJ2k2tb32.79euDXIxl6dBMpJ4HcvkcSQqth4N0oylMbtBRkti4ElFLA-- Message-ID: <45738F4A.2050306@aol.com> Date: Sun, 03 Dec 2006 19:00:26 -0800 From: Tim Prince Reply-To: tprince AT computer DOT org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin + make 10 time slower than equivalent linux make (same ifc compiler) References: <3da3d8310612031012n1f605a54ufeb71fce542c2524 AT mail DOT gmail DOT com> In-Reply-To: <3da3d8310612031012n1f605a54ufeb71fce542c2524@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com degeneracypressure AT gmail DOT com wrote: > On 12/2/06, Philippe Conraux wrote: >> I have to build a large project on Windows. >> >> Build libraries using Intel compilers needs 12 hours on cygwin >> when same build needs 1 hour on Linux (same computer : dual boot, same >> compilers ifc 9.1) > > Do you need a feature that is specific to cygwin's make or the cygwin > environment? > Many of us require cygwin to support build environment using Intel or other commercial compilers. However, there is no chance of getting any specific support for this, either from cygwin, from Intel, or from the vendors of the other compilers. Not to mention that Microsoft is unalterably opposed to this. That said, cygwin often builds Windows applications much faster than they can be built under Visual Studio. If you are using make -j on linux, why not on Windows? > If not, could you use the make that comes with MinGW > (http://www.mingw.org/)? If a POSIX-like environment is required, > would MSYS do the trick as well (http://www.mingw.org/msys.shtml)? > > Alternatively, could you not simply cross-compile it for Windows on > the Linux system? You said the workstation is dual-boot. If you have > to be in Windows to perform other tasks while building it, perhaps you > could virtualize (not emulate) some Linux system and cross-compile it > that way. No, commercial Windows compilers aren't generally available as a cross compiler on linux. Nor do I think you will find anyone supporting a pre-built gcc cross compiler from linux for general Windows use (not that we shouldn't be grateful when that is available for cygwin). > > Finally, are you sure the problem even has anything to do with cygwin > and cygwin's make? Have you noticed how slow cygwin build and test scripts have been running with gcc in recent months? I have a gcc testsuite running right now which is over 24 hours old. It takes about 6 hours simply to build gcc, g++, gfortran on cygwin. Even on my 4 year old Itanium linux system, it can be done several times faster than that. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/