Re: installed, compiled, how to link?

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

 



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.


[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