From owner-freebsd-questions  Tue Aug 28 12: 9:12 2001
Delivered-To: freebsd-questions@freebsd.org
Received: from hamster.franken.de (hamster.franken.de [193.141.110.13])
	by hub.freebsd.org (Postfix) with ESMTP id 83BB637B406
	for <questions@FreeBSD.org>; Tue, 28 Aug 2001 12:09:08 -0700 (PDT)
	(envelope-from tanis@gaspode.franken.de)
Received: from karnickel.franken.de (karnickel.franken.de [193.141.110.11])
	by hamster.franken.de (8.11.5/8.11.5) with ESMTP id f7SJ95V77751
	for <questions@FreeBSD.org>; Tue, 28 Aug 2001 21:09:05 +0200 (CEST)
	(envelope-from tanis@gaspode.franken.de)
Received: from gaspode.franken.de (lengfeld.core.main.franken.de [193.141.110.4])
	by karnickel.franken.de (8.11.3/8.11.3) with ESMTP id f7SJ96719577
	for <questions@FreeBSD.org>; Tue, 28 Aug 2001 21:09:06 +0200 (CEST)
	(envelope-from tanis@gaspode.franken.de)
Received: (from tanis@localhost)
	by gaspode.franken.de (8.11.5/8.11.1) id f7SJ96b02607
	for questions@FreeBSD.org; Tue, 28 Aug 2001 21:09:06 +0200 (CEST)
	(envelope-from tanis)
Date: Tue, 28 Aug 2001 21:09:06 +0200
From: German Tischler <tanis@gaspode.franken.de>
To: questions@FreeBSD.org
Subject: libjava / gcc 3.0.1
Message-ID: <20010828210906.A2545@gaspode.franken.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5-current-20010403i
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

Hi.

Is anyone succesfully using libjava (libgcj) on FreeBSD ?
After tweaking a few things in the source to make it compile,
the linker says

/usr/libexec/elf/ld: unrecognized option '--library=gcjgc'
/usr/libexec/elf/ld: use the --help option for usage information
collect2: ld returned 1 exit status

whenever I try to link a program using gcj. The above message
doesn't really make sense to me, because the library mentioned
exists and --library is a valid option (in fact the option
passed to ld is -lgcjgc).

--gt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message