This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: relocation truncated to fit errors


On Wed, Apr 05, 2006 at 07:15:05PM +0530, Niklaus wrote:
> > (in particular the vr4131_elf_gdb.ld bit) suggests that you're trying
> > to use a *-elf (bare-metal) linker script with a GNU/Linux compiler,
> > so I wasn't sure whether your target really was GNU/Linux or not.
> >
> I am using a crosscompiler to build the toppers jsp kernel
> http://www.toppers.jp/download.cgi/jsp-1.4.2.tar.gz
> The kernel is to be used on vr4131 system.
> The target system is vr4131 .I build the cross toolchain with target
> mips-deb-linux.
> Is there anything wrong or that is to be modified.

Is it supposed to run in userspace under a GNU/Linux kernel?  If not,
you should probably use a mips-elf toolchain, not a mips-linux
toolchain.

JSP looks like a standalone RTOS kernel, so you should be using
mips-elf.

-- 
Daniel Jacobowitz
CodeSourcery

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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