public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Environnement for gcc...
@ 2001-01-23  8:23 Fabrice Gautier
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Gautier @ 2001-01-23  8:23 UTC (permalink / raw)
  To: cygwin

Hi,

I'm trying to run the gcc compiler (the one that comes with cygwin - last
version) from Visual Studio. I'm with Win2000.

I get an error from cpp.exe about the fact that it can't find the cygwin
DLL. When I run gcc from the windows command line t works fine.

I tried to modify the environnement variables to add e:\cygwin\bin (where
the dll is) in the path but it doesn't works. When i get the error there is
a path given in the message and e:\cygwin\bin is not there.

I guess the error message is from windows and not cpp itself (since its a
dialog box).

Does anyone have an idea of how to run gcc fom Visual Studio ?
which Environnement variables should I look at?

Thanks.

--
Fabrice Gautier
gautier@email.enst.fr

Thanks


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Environnement for gcc...
@ 2001-01-23  8:32 Griffiths, Alan
  0 siblings, 0 replies; 2+ messages in thread
From: Griffiths, Alan @ 2001-01-23  8:32 UTC (permalink / raw)
  To: 'Fabrice Gautier', cygwin

> -----Original Message-----
> From: Fabrice Gautier [ mailto:gautier@email.enst.fr ]
> Sent: 23 January 2001 16:18
> To: cygwin@sources.redhat.com
> Subject: Environnement for gcc...
> 
> 
> Hi,
> 
> I'm trying to run the gcc compiler (the one that comes with 
> cygwin - last
> version) from Visual Studio. I'm with Win2000.

I've done this (and keep meaning to write up the method).

> I get an error from cpp.exe about the fact that it can't find 
> the cygwin
> DLL. When I run gcc from the windows command line t works fine.
> 
> I tried to modify the environnement variables to add 
> e:\cygwin\bin (where
> the dll is) in the path but it doesn't works. When i get the 
> error there is
> a path given in the message and e:\cygwin\bin is not there.

VS zaps the Windows envionment variables before invoking the 
command line tools.  YOu can either invoke a cmd script that

HTH
--
Alan Griffiths, Senior Systems Consultant, Experian
mailto:alan.griffiths@uk.experian.com  tel:+44 115 968 5118
http://www.experian.com/  http://www.octopull.demon.co.uk/



=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-23  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23  8:23 Environnement for gcc Fabrice Gautier
2001-01-23  8:32 Griffiths, Alan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).