public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Keith Boynton <keithboynton@flaredesign.co.uk>
Cc: Ben Gardiner <BenGardiner@nanometrics.ca>, java@gcc.gnu.org
Subject: Re: java.lang.NoClassDefFoundError: java.text.DecimalFormat
Date: Fri, 04 Dec 2009 09:47:00 -0000	[thread overview]
Message-ID: <4B18DA8C.9030205@redhat.com> (raw)
In-Reply-To: <D83D2778B6F940F4B89E5F360F89428B@Flaresnazzy>

Keith Boynton wrote:
> Hi guys,
> 
> Sorry for the delay in providing some feedback, I was trying to resolve some 
> nuances in the Java Native Compiler that were making it difficult to specify 
> the flags in the correct order. I was unable to resolve that, so I switched 
> to straight command line entry.
> 
> I tried your suggestion, here's the full command:
> 
> 1. cd to src tree containing the .java source
> 2. Execute the following: C:\JavaNC\gcc-122233-win\bin\gcj -o 
> C:\JavaNC\projects\Test\compiled\test.exe -Wl,--whole-archive -lgcj_properties 
>  -Wl,--no-whole-archive -static-libgcj --main=Test
> 
> This gives me the following error at compile time:
> C:\Users\KEITHB~1\AppData\Local\Temp/ccw9aaaa.o: In function 
> `main':C:/Users/KEITHB~1/AppData/Local/Temp/ccCuaaaa.i:(.text+0x25): 
> undefined reference to `Test::class$$'
> collect2: ld returned 1 exit status

You haven't given gcj anything to compile.  :-)

Andrew.

  reply	other threads:[~2009-12-04  9:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 15:39 Keith Boynton
2009-11-30 15:45 ` Andrew Haley
2009-11-30 21:13   ` Keith Boynton
2009-11-30 21:15     ` Ben Gardiner
2009-12-04  8:34       ` Keith Boynton
2009-12-04  9:47         ` Andrew Haley [this message]
2009-12-04 18:12           ` Keith Boynton
2009-11-30 18:29 ` Ben Gardiner
2009-11-30 18:33   ` Andrew Haley
2009-11-30 21:13     ` Keith Boynton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B18DA8C.9030205@redhat.com \
    --to=aph@redhat.com \
    --cc=BenGardiner@nanometrics.ca \
    --cc=java@gcc.gnu.org \
    --cc=keithboynton@flaredesign.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).