From owner-freebsd-java Tue May 16 0:53:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.71.62]) by hub.freebsd.org (Postfix) with ESMTP id 1E26F37B58E for <freebsd-java@freebsd.org>; Tue, 16 May 2000 00:53:17 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id 16BB0275B6; Tue, 16 May 2000 09:53:15 +0200 (CEST) Subject: Re: Motif and wchar's To: runge@rostock.zgdv.de (Thomas Runge) Date: Tue, 16 May 2000 09:53:15 +0200 (CEST) Cc: freebsd-java@freebsd.org In-Reply-To: <3920F6B0.9E1DFD37@rostock.zgdv.de> from "Thomas Runge" at May 16, 2000 09:20:16 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000516075315.16BB0275B6@naboo.ethz.ch> From: carlo@vis.ethz.ch (Carlo Dapor) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Thomas > I get link errors coming from TextF.c regarding: > wcschr, wcscpy, wcscat, wcslen, wcsncat. I know, these functions > are in glibc, why don't we have that? > > And how can we solve that problem right now? The sources of jikes (IBM's Open Source java compiler) include a working way to have libc5 systems enable wchar functions. All is done in config.cpp when defining USE_LIBC5 or something. Do panic, the functions are written in plain C, despite the fact that they are in a C++ source file. This is not THE solution, but as a work-around, extract the functions, save them in wchar.c and don't forget to include libc5-fix.h (or similar) and You should be fine. Have a look at http://www10.software.ibm.com/developerworks/opensource/jikes/project/ Ciao, derweil, -- Carlo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message