This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v850] cross compiler - file v850.md


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]