This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: installed, compiled, how to link?
Yes, I noticed that all execute permissions were present
on a.out, but I get the line:
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:
>> 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
>
>
>
--
View this message in context: http://www.nabble.com/installed%2C-compiled%2C-how-to-link--tf4006142.html#a11377671
Sent from the gcc - Help mailing list archive at Nabble.com.