This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Yes, I noticed that all execute permissions were present on a.out, but I get the line:Your current directory is probably not in your path.
bash: a.out: command not found
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:Probably you mis-typed that should be: --main=...
gcj --name=HelloJav HelloJav.java
by looking at the man gcj page, and got an a.out.Nope. You are done. a.out is the final executable.
I spose next is linking but don't know name of linker
so cannot look it up. Pleas help.
Try running a.out and see what happens.
David Daney
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |