public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* compiling with g++
@ 2001-01-23 10:25 William Lennox
  2001-01-23 10:50 ` Larry Hall (RFK Partners, Inc)
  2001-01-23 11:43 ` J. David Boyd
  0 siblings, 2 replies; 8+ messages in thread
From: William Lennox @ 2001-01-23 10:25 UTC (permalink / raw)
  To: cygwin

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.



 >>>>www.colorok.com<<<<
 >>1939 High House Rd.<<<
 >>>>>>PMB 138<<<<<<<<
 >>>>Cary, NC 27513<<<<<
 >>><<919.303.2598<<<<<<
 >>>>>603 719 3344<<<<<<
Graphic Arts equipment via the web


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

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

* Re: compiling with g++
  2001-01-23 10:25 compiling with g++ William Lennox
@ 2001-01-23 10:50 ` Larry Hall (RFK Partners, Inc)
  2001-01-23 11:29   ` Charles Wilson
  2001-01-23 11:43 ` J. David Boyd
  1 sibling, 1 reply; 8+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-23 10:50 UTC (permalink / raw)
  To: William Lennox, cygwin

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



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



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

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

* Re: compiling with g++
  2001-01-23 10:50 ` Larry Hall (RFK Partners, Inc)
@ 2001-01-23 11:29   ` Charles Wilson
  2001-01-23 11:36     ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 8+ messages in thread
From: Charles Wilson @ 2001-01-23 11:29 UTC (permalink / raw)
  To: Larry Hall (RFK Partners, Inc); +Cc: William Lennox, cygwin

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

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

* Re: compiling with g++
  2001-01-23 11:29   ` Charles Wilson
@ 2001-01-23 11:36     ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 8+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-23 11:36 UTC (permalink / raw)
  To: Charles Wilson; +Cc: William Lennox, cygwin

At 02:28 PM 1/23/2001, Charles Wilson wrote:


>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



Ah, OK.  I guess I only answered half the issue but that's not enough 
to pass a 2 question test!;-)



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



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

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

* Re: compiling with g++
  2001-01-23 10:25 compiling with g++ William Lennox
  2001-01-23 10:50 ` Larry Hall (RFK Partners, Inc)
@ 2001-01-23 11:43 ` J. David Boyd
  2001-01-23 13:06   ` Corinna Vinschen
  1 sibling, 1 reply; 8+ messages in thread
From: J. David Boyd @ 2001-01-23 11:43 UTC (permalink / raw)
  To: cygwin

If you don't have user profiles set up, your desktop is
c:\windows\desktop,
so you should be able to compile a file with
g++ c:\windows\desktop\file.cpp

But I wouldn't recommend it.

Dave

----- Original Message -----
From: "William Lennox" <sales@colorok.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, January 23, 2001 1:26 PM
Subject: compiling with g++


> 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.
>
>
>
>  >>>>www.colorok.com<<<<
>  >>1939 High House Rd.<<<
>  >>>>>>PMB 138<<<<<<<<
>  >>>>Cary, NC 27513<<<<<
>  >>><<919.303.2598<<<<<<
>  >>>>>603 719 3344<<<<<<
> Graphic Arts equipment via the web
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


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

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

* Re: compiling with g++
  2001-01-23 11:43 ` J. David Boyd
@ 2001-01-23 13:06   ` Corinna Vinschen
  2001-01-23 13:44     ` J. David Boyd
  0 siblings, 1 reply; 8+ messages in thread
From: Corinna Vinschen @ 2001-01-23 13:06 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 23, 2001 at 02:42:40PM -0500, J. David Boyd wrote:
> If you don't have user profiles set up, your desktop is
> c:\windows\desktop,
> so you should be able to compile a file with
> g++ c:\windows\desktop\file.cpp
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      c:/windows/desktop/file.cpp

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

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

* Re: compiling with g++
  2001-01-23 13:06   ` Corinna Vinschen
@ 2001-01-23 13:44     ` J. David Boyd
  0 siblings, 0 replies; 8+ messages in thread
From: J. David Boyd @ 2001-01-23 13:44 UTC (permalink / raw)
  To: cygwin

Oops, happens all the time, as I go back and forth 'tween Unix and Win98.
Thanks for catching it and pointing it out!

Dave

----- Original Message ----- 
From: "Corinna Vinschen" <cygwin@cygwin.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, January 23, 2001 4:06 PM
Subject: Re: compiling with g++


> On Tue, Jan 23, 2001 at 02:42:40PM -0500, J. David Boyd wrote:
> > If you don't have user profiles set up, your desktop is
> > c:\windows\desktop,
> > so you should be able to compile a file with
> > g++ c:\windows\desktop\file.cpp
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       c:/windows/desktop/file.cpp
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 


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

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

* RE: compiling with g++
@ 2001-01-23 11:31 Robinow, David
  0 siblings, 0 replies; 8+ messages in thread
From: Robinow, David @ 2001-01-23 11:31 UTC (permalink / raw)
  To: cygwin

> 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

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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23 10:25 compiling with g++ William Lennox
2001-01-23 10:50 ` Larry Hall (RFK Partners, Inc)
2001-01-23 11:29   ` Charles Wilson
2001-01-23 11:36     ` Larry Hall (RFK Partners, Inc)
2001-01-23 11:43 ` J. David Boyd
2001-01-23 13:06   ` Corinna Vinschen
2001-01-23 13:44     ` J. David Boyd
2001-01-23 11:31 Robinow, David

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