public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@tuliptree.org>
To: p0ulp3 <p0ulp3@gmail.com>
Cc: gcc-help@gcc.gnu.org, brian@dessent.net
Subject: Re: [v850] cross compiler - file v850.md
Date: Fri, 11 Apr 2008 23:54:00 -0000	[thread overview]
Message-ID: <47FFCAF6.7060605@tuliptree.org> (raw)
In-Reply-To: <231785cb0804110529r174c581fw6f2dc48c8be53624@mail.gmail.com>

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

  reply	other threads:[~2008-04-11 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 17:36 p0ulp3
2008-04-11 12:14 ` Brian Dessent
2008-04-11 15:02   ` p0ulp3
2008-04-11 23:54     ` Jim Wilson [this message]
2008-04-14 16:04       ` p0ulp3
2008-04-14 18:06         ` Jim Wilson

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=47FFCAF6.7060605@tuliptree.org \
    --to=wilson@tuliptree.org \
    --cc=brian@dessent.net \
    --cc=gcc-help@gcc.gnu.org \
    --cc=p0ulp3@gmail.com \
    /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).