delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/15/15:33:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <482C8F20.50908@mitel.com>
Date: Thu, 15 May 2008 15:29:36 -0400
From: Lee Dilkie <lee_dilkie AT mitel DOT com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Question about link.exe?
References: <482C8AB3 DOT 6060008 AT pyxisinnovation DOT com>
In-Reply-To: <482C8AB3.6060008@pyxisinnovation.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I found that setting the complier and linker (all the tools, actually) 
to the full path is the most reliable means to ensure the correct 
executables are picked up.

ie.

CC = full_path_to_ds_8_bin/cl.exe
LINK = full_path_to_ds_8_bin/link.exe

you can use the registered environment variables for DS to build the 
full path up. (can't remember the name right now, I'm at home).

-lee

Chris Howell wrote:
> I am running on Vista, and what I am doing is I open up a Dev Studio 
> 2008 command shell. From that command shell I launch cygwin/bash... 
> Things like cl.exe are inherited from the first shell I've opened in 
> the bash environment. What I want is link to be the path that is found 
> under my BIN directory of my DevStudio install. However possibily 
> because they're the same name when I query link, or try and use it to 
> make a dll. Bash thinks I am using link to make a symbolic link as 
> opposed to a dll.
>
> Any suggestions or help would be appreciated.
>
> Cheers
> Chris Howell
> Software Engineer
> the PYXIS innovation inc
> Kingston Ontario,
> w: www.pyxisinnovation.com
> p: 613-389-3430
>
> -- 
> 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/

--
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/

- Raw text -


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