Re: installed, compiled, how to link?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hill0093 wrote:
Yes, I noticed that all execute permissions were present on a.out, but I get the line:

bash: a.out: command not found

Your current directory is probably not in your path.

Do:  ./a.out

That should work better.

David Daney

when I type a.out and I am in the same correct directory.
It puzzles me.


David Daney wrote:
hill0093 wrote:
I got at least part of gcc installed so I compiled:
gcj  --name=HelloJav  HelloJav.java
Probably you mis-typed that should be: --main=...


by looking at the man gcj page, and got an a.out.
I spose next is linking but don't know name of linker
so cannot look it up. Pleas help.
Nope.  You are done.  a.out is the final executable.

Try running a.out and see what happens.

David Daney






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux