This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Static java programs
- From: Anthony Green <green at redhat dot com>
- To: David Meggy <dmeggy at techsol dot ca>
- Cc: "uclibc at uclibc dot org" <uclibc at uclibc dot org>, java at gcc dot gnu dot org
- Date: 11 Sep 2003 15:47:35 -0700
- Subject: Re: Static java programs
- Organization: Red Hat, Inc.
- References: <1063315480.441.69.camel@DavidAsus>
On Thu, 2003-09-11 at 14:24, David Meggy wrote:
> $ arm-linux-gcj HelloWorld.java --main=HelloWorldApp -o HelloWorldJava -Os -static
> /usr/lib/gcc-lib/arm-linux/3.3.1/../../../../arm-linux/lib/libdl.a(dlib.o)(.text+0x1fcc): In function `_dlopen':
> : undefined reference to `_dl_fixup'
> collect2: ld returned 1 exit status
If you really want to create a static image, you won't need libdl.a. Is
this in one of your spec files?
AG
--
Anthony Green <green@redhat.com>
Red Hat, Inc.