This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: installed, compiled, how to link?
- From: Tim Prince <tprince at myrealbox dot com>
- To: hill0093 <hill0093 at umn dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 30 Jun 2007 22:05:58 -0700
- Subject: Re: installed, compiled, how to link?
- References: <11377342.post@talk.nabble.com>
- Reply-to: tprince at computer dot org
hill0093 wrote:
I got at least part of gcc installed so I compiled:
gcj --name=HelloJav HelloJav.java
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.
a.out is already linked. Adding the -v option would show you the link
step. Next is try to run it, e.g. ./a.out