| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Mike Bresnahan" <mbresnah AT visi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Cygwin, GNU make and VC++ ? |
| Date: | Fri, 1 Nov 2002 18:13:46 -0600 |
| Message-ID: | <EKEJKOHPOIIALFJMKEIGOEADEDAA.mbresnah@visi.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| In-Reply-To: | <Pine.LNX.4.21.0211011150220.23333-400000@gremlin.fruitbat.org> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
| Importance: | Normal |
For what its worth, this is the script I use:
#! /bin/sh
#
# Wrapper script for the Microsoft Visual C++ compiler (cl) to allow it to
work with Cygwin based makefiles.
cmd="/c/Program\ Files/Microsoft\ Visual\ Studio/VC98/Bin/cl"
for option
do
case $option in
-I/*)
path=`expr $option : '-I/\(.*\\)'`
cmd="$cmd -IC:/cygwin/$path"
;;
/*)
path=`expr $option : '/\(.*\\)'`
cmd="$cmd C:/cygwin/$path"
;;
*)
cmd="$cmd $option"
;;
esac
done
echo $cmd
eval $cmd
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |