Very Strange
Jordan Rudderham
jd.rudderham at gmail.com
Wed Feb 6 06:22:40 UTC 2008
Wow, that did work, thanks a bunch. I'm not sure I understand how that
works though. On other machines, if I compiled it in that working-direc,
I could then run the exe from that working-direc rather easily. What
makes the way I did this on ubuntu different?
On Tue, 2008-02-05 at 22:04 -0800, Kip Warner wrote:
> On Tue, 2008-02-05 at 23:02 -0600, Jordan Rudderham wrote:
> > g++ -g prime.cpp
> > or
> > g++ -o prime prime.cpp
> > or
> > g++ prime.cpp
>
> You are probably compiling in a directory that isn't in your path, but
> was on the successful machine. If you want to run the executable and it
> is in the current working directory, as suggested before, something
> like...
>
> $ ./a.out
>
More information about the ubuntu-ca
mailing list