Very Strange

Jordan Rudderham jd.rudderham at gmail.com
Wed Feb 6 05:02:28 UTC 2008


g++ -g prime.cpp
or
g++ -o prime prime.cpp
or 
g++ prime.cpp

this happens with all c plus plus files compiled on this computer so:

g++ matrix.cpp -o TestMatrix testmatrix.cpp

Again, they run fine when compiled in exactly the same manner on Solaris
and Red Hat.

Thanks for your time.

On Tue, 2008-02-05 at 19:37 -0800, Kip Warner wrote:
> On Tue, 2008-02-05 at 21:31 -0600, Jordan Rudderham wrote:
> > Anyone know why ubuntu wouldn't want to run executable files that were
> > compiled on g++? The .cpp file I'm compiling from works fine when
> > compiled in any other system, Red Hat, other people's ubuntu, windows,
> > but on my machine the system gives me the error bash: a.out: command not
> > found. 
> > 
> > Anyone know why this might be occurring? Am I missing a critical system
> > file? 
> 
> Can you show me the exact command you are running to compile your code,
> followed by what you are typing to run it?
> 





More information about the ubuntu-ca mailing list