delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/18/18:02:05

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
Message-ID: <004701c24702$a4dabae0$b2b1869f@oemcomputer>
Reply-To: "Al" <nobrow AT eircom DOT net>
From: "Al" <nobrow AT eircom DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Best environment setup for using gcc?
Date: Sun, 18 Aug 2002 23:00:18 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Note-from-DJ: This may be spam

Hi. Ive got a rather simple question (which strangly I have had great
difficulty expressing) about whats considered best practice when it comes to
setting up gcc.

I installed cygwin the other day. Up to that point I was using a version of
gcc that came as part of a program called Dev C++ from Bloodshed (I think
that gcc came from mingw). Anyway, then I had it setup so that my PATH
included both the path to the bin and include directories. Include contained
all the common headers including, for example, the windows ones so this
simple setup worked fine and I rarely had to worry about telling the
compiler where to locate included files.

Now Im not sure what I should set my PATH to so that I will be able to
launch gcc (the one I got with cygwin) from dos or from other programs
without worrying about it being able to access the headers. Also I dont know
if I have to do stuff to make the include files accessible when I use gcc
from bash. I looked at the output from gcc -print-search-dirs but it didnt
help me. So how does eveyone else have their environments set up? I cant
just set my PATH to point to usr\include because a lot of the headers are
nested in other directories like w32api. Is it considered bad to have the
kind of setup Im talking about and should just be telling it what
directories to search each time I invoke gcc? Help me conform ...

Thanks.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/02


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