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]

Re: installed, compiled, how to link?


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]