This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling with g++




On Tue, 23 Jan 2001, Larry Hall (RFK Partners, Inc) wrote:

> At 01:26 PM 1/23/2001, William Lennox wrote:
> >Pardon me if this question is to basic.
> >
> >what would be the terminal line that would allow me to compile a file that is on my windows desktop?  I would use the g++ compiler.
> 
> 
> 
> You mean "g++ foo.cc"?

I think he want:

(for win9x installed on drive c:)
cd /cygdrive/c/windows/desktop
g++ foo.cc

(for winNT installed on drive c:)
cd /cygdrive/c/WINNT/Profiles/username/Desktop
g++ foo.cc

(for win2K installed on drive c:)
cd /cygdrive/c/Documents\ And\ Settings/username/Desktop
g++ foo.cc

--Chuck



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]