delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/18/12:18: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://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
From: "Siegfried Heintze" <siegfried AT heintze DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: How to write minimal program using GD library
Date: Sat, 18 Jun 2005 10:18:35 -0600
MIME-Version: 1.0
In-Reply-To: <42B3B332.8C1F8C58@dessent.net>
Message-ID: <6188710.1119111656421.JavaMail.SYSTEM@CCC-NOVA1>
X-IsSubscribed: yes

Thanks Brian,
It works! My problem was that I was running the program (via bash) from the
emacs compile command.

I wonder why the path is not set up correctly when I use emacs to create a
subprocess? The path is setup correctly when I click on the Cygwin prompt.

I think emacs specifies bash.exe -- perhaps that is the problem. Do I have
to specify cygwin.bat?

Below is the contents of Cygwin.bat. It does not look like it sets up any
environment variables to me. Why is Cygwin.bat important?

I'd also like to make this compile with msvc using the MSVC version of the
gd library I downloaded from boutell.com. I guess I'll send email to him as
the web site suggests unless someone can suggests a forum to post in.

Siegfried
Cygwin.bat:
@echo off

C:
chdir C:\cygwin\bin

bash --login -i


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