delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/28/23:20:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 28 Oct 2002 23:20:37 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Christophe Dupre <duprec AT scorec DOT rpi DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin, GNU make and VC++ ?
In-Reply-To: <3DBE05B9.6050301@scorec.rpi.edu>
Message-ID: <Pine.GSO.4.44.0210282319380.5605-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 28 Oct 2002, Christophe Dupre wrote:

> Hello everyone,
> I'm trying to recompile a homegrown program that was originaly
> developped for Unix under Windows. We were successful in compiling this
> program with the cygwin-supplied gcc using our current Makefile.
>
> Now we'd like to recompile with the 'native' compiler, cl.exe provided
> with Visual Studio, as some believe the native compile would produce
> faster binaries (it's a long-running analysis code - even 5% speedup
> would be significant). Also, the gcc binary can't seem to be able to
> allocate more than 1024MB of memory, even though the machine has 4GB
> physical (this is under Windows 2000). Even then, we had to modify a
> registry key to be able to use more than 256MB, which is not great for
> end-users.
>
> Anyway, we're making progress in being able to compile with CL.EXE, but
> we're having trouble with include files. We use the flag
> '-I/home/user/dg/include' to point to the include directory, but it
> can't find it. If we use '-I../include' it works, but for many reasons
> we need to be able to specify absolute paths for include files.
>
> Has anyone done that ? I was not able to find anything relevant in the
> archives.
>
> Thanks.

Christophe,
Non-cygwin programs (of which cl.exe is one) don't understand Cygwin paths
and mounts.  You might wish to read up on the cygpath utility.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019