From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1169 invoked by alias); 11 Apr 2008 20:33:18 -0000 Received: (qmail 1158 invoked by uid 22791); 11 Apr 2008 20:33:17 -0000 X-Spam-Check-By: sourceware.org Received: from smtp101.biz.mail.mud.yahoo.com (HELO smtp101.biz.mail.mud.yahoo.com) (68.142.200.236) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 11 Apr 2008 20:32:58 +0000 Received: (qmail 46786 invoked from network); 11 Apr 2008 20:32:56 -0000 Received: from unknown (HELO localhost.localdomain) (wilson@tuliptree.org@69.110.32.105 with plain) by smtp101.biz.mail.mud.yahoo.com with SMTP; 11 Apr 2008 20:32:55 -0000 X-YMail-OSG: GYXnzUsVM1nix_FVgKpoOLciHEEP909l4LSkvSiiW93efkO2a0.QQPzbev4v8xeK8_PKnS3M7Q-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <47FFCAF6.7060605@tuliptree.org> Date: Fri, 11 Apr 2008 23:54:00 -0000 From: Jim Wilson User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: p0ulp3 CC: gcc-help@gcc.gnu.org, brian@dessent.net Subject: Re: [v850] cross compiler - file v850.md References: <231785cb0804100833t1b71f5cds9fb13a0617f89b2d@mail.gmail.com> <47FE8D1C.262ADA8A@dessent.net> <231785cb0804110529r174c581fw6f2dc48c8be53624@mail.gmail.com> In-Reply-To: <231785cb0804110529r174c581fw6f2dc48c8be53624@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00175.txt.bz2 p0ulp3 wrote: > #include "ghs_null.h" /* defines NULL and size_t */ > #include "ghs_wchar.h" /* defines wchar_t */ > [...] GHS is Green Hills Software. It looks like you have accidentally mixed up the GHS and GCC toolchains somehow. > CFLAGS=-mv850e -I/tools/gnu/v850-elf/include/ > LDFLAGS=--verbose -Wl, -L/tools/gnu/lib/gcc/v850-elf/4.3.0/v850e/ You must use the some options when linking as when compiling. Add -mv850e to LDFLAGS and your problem will go away, as that tells gcc to use the v850e version of libgcc. And drop the explicit -L option, that isn't necessary or useful. Jim