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


> From: Larry Hall (RFK Partners, Inc) [mailto:lhall@rfk.com]
> 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'm guessing William's problem is that he doesn't know
how to find, using the command line, a file located on
the desktop.

1) Don't keep source files on the desktop.
2) If you must ignore 1, right click on your source file.
   Click on "Properties"
   Click on the "General" tab.  The "Location:" field should
     give you the file spec.
   On my machine, "g++ C:\WINNT\Profiles\drobinow.000\Desktop\foo.cc"

   

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