public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: "John R. Dunning" <jrd@jrd.org>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Using a different toolchain
Date: Thu, 06 Apr 2006 06:39:00 -0000	[thread overview]
Message-ID: <20060406063824.GE12221@lunn.ch> (raw)
In-Reply-To: <17460.34517.390891.270975@kong.jrd.org>

On Wed, Apr 05, 2006 at 11:11:17PM -0400, John R. Dunning wrote:
>     From: "John R. Dunning" <jrd@jrd.org>
>     Date: Tue, 4 Apr 2006 10:11:53 -0400
>     
>         From: Andrew Lunn <andrew@lunn.ch>
>         Date: Tue, 4 Apr 2006 15:16:47 +0200
>     							       i would of
>         thought target.ld would work.
> 
> Further info, I went back and started over from scratch.  When I use
> an out-of-the box config, using one of the mips targets, everything
> builds correctly.  I then changed toolchains, by fixing the tool
> prefix so as to invoke my 64bit-plus-special-sauce toolchain.
> 
> Here's some basic info on the toolchain:
> 
>     jrd@test ~/sw/ecos/devo/hack $ xxgcc --version
>     mips64el-unknown-linux-gnu-gcc (GCC) 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
>     Copyright (C) 2004 Free Software Foundation, Inc.
>     This is free software; see the source for copying conditions.  There is NO
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Cleaned, and compiled everything.  That works ok, but when I get to
> the link step, trying to build one of the test executables, I get the
> following:
> 
>     xxgcc -c  -I/net/home/jrd/sw/ecos/devo/hack/install/include -I/home/jrd/sw/ecos/dist/ecos-2.0/packages/hal/common/v2_0 -I/home/jrd/sw/ecos/dist/ecos-2.0/packages/hal/common/v2_0/src -I/home/jrd/sw/ecos/dist/ecos-2.0/packages/hal/common/v2_0/tests -I. -I/home/jrd/sw/ecos/dist/ecos-2.0/packages/hal/common/v2_0/tests/ -mips64 -EL -msoft-float -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -G0 -Wp,-MD,tests/context.tmp -o tests/context.o /home/jrd/sw/ecos/dist/ecos-2.0/packages/hal/common/v2_0/tests/context.c
>     cc1: warning: command line option "-Woverloaded-virtual" is valid for C++/ObjC++ but not for C
>     cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
>     cc1: warning: command line option "-fvtable-gc" is valid for C++/ObjC++ but not for C
>     xxgcc -EL -msoft-float -g -nostdlib -Wl,--gc-sections -Wl,-static -L/net/home/jrd/sw/ecos/devo/hack/install/lib -Ttarget.ld -o /net/home/jrd/sw/ecos/devo/hack/install/tests/hal/common/v2_0/tests/context tests/context.o
>     /usr/lib/gcc/mips64el-unknown-linux-gnu/3.4.5/../../../../mips64el-unknown-linux-gnu/bin/ld: target elf32-littlemips not found

Try -V so we can see what is being passed from gcc to ld. 

Have you been able to compile and link anything with the toolchain?
Are there any build in self tests? 

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  parent reply	other threads:[~2006-04-06  6:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 13:05 John R. Dunning
2006-04-04 13:17 ` Andrew Lunn
2006-04-04 14:12   ` John R. Dunning
2006-04-06  3:11     ` John R. Dunning
2006-04-06  3:38       ` [ECOS] " Grant Edwards
2006-04-06  6:39       ` Andrew Lunn [this message]
2006-04-04 14:23 ` Grant Edwards

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=20060406063824.GE12221@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=jrd@jrd.org \
    /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).