From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4562 invoked by alias); 14 Feb 2002 17:46:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4524 invoked by uid 71); 14 Feb 2002 17:46:02 -0000 Date: Thu, 14 Feb 2002 09:46:00 -0000 Message-ID: <20020214174602.4521.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tom Tromey Subject: Re: java/5688: cross compiler build fails in libjava Reply-To: Tom Tromey X-SW-Source: 2002-02/txt/msg00342.txt.bz2 List-Id: The following reply was made to PR java/5688; it has been noted by GNATS. From: Tom Tromey To: pb@nexus.co.uk Cc: gcc-gnats@gcc.gnu.org Subject: Re: java/5688: cross compiler build fails in libjava Date: 14 Feb 2002 11:02:30 -0700 >>>>> ">" == pb writes: >> --target=arm-linux >> /home/pb/gcc/libjava/java/net/natInetAddress.cc:58: declaration of C function ` >> int gethostname(char*, int)' conflicts with >> /usr/local/arm-linux/include/unistd.h:734: previous declaration `int >> gethostname(char*, unsigned int)' here FYI: libgcj currently assumes that if you are cross-compiling then the target uses newlib. This is a bogus assumption, of course, but nobody has yet done the work to eliminate it. This particular error is just the first problem you will encounter... Tom