From: John Dallaway <john@dallaway.org.uk>
To: "Claus Lensbøl" <cmol@cmol.dk>
Cc: eCos Discussion <ecos-discuss@sourceware.org>
Subject: [ECOS] Re: Error compilling synth target
Date: Sun, 26 Apr 2015 13:48:00 -0000 [thread overview]
Message-ID: <553CECA2.30909@dallaway.org.uk> (raw)
In-Reply-To: <CAAMe9vtGJmvKu6aAWcPRye4kYvJ=ga1OeEsHJ9gJwfG72hw13A@mail.gmail.com>
Hi Claus
On 22/04/15 18:50, Claus Lensbøl wrote:
> I'm trying to compile a synth target with eCos.
> I downloaded using the tcl-script, and are running the configtool to
> select the target.
> I have set CYGBLD_GLOBAL_COMMAND_PREFIX to empty, to use the system
> stack, however I cannot get it to compile due to "loss of precision"
> errors. If I add -fpermissive to the compile I get further but end up
> with a lot of:
>
>
> ==================================================================
> /opt/ecos/ecos-3.0/packages/hal/synth/i386linux/v3_0/src/syscall-i386-linux-1.0.S:387:
> Error: operand type mismatch for `push'
[ snip ]
> I'm running on a ubuntu 14.10 system wit gcc:
>
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
> Target: x86_64-linux-gnu
[ snip]
The eCos synthetic (linux) target does not support 64-bit compilation at
present. Try adding the "-m32" switch to the following eCos
configuration options:
CYGBLD_GLOBAL_CFLAGS
CYGBLD_GLOBAL_LDFLAGS
in order to force 32-bit compilation and linking on your 64-bit Linux host.
I hope this helps...
John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2015-04-26 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-22 17:50 [ECOS] " Claus Lensbøl
2015-04-26 13:48 ` John Dallaway [this message]
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=553CECA2.30909@dallaway.org.uk \
--to=john@dallaway.org.uk \
--cc=cmol@cmol.dk \
--cc=ecos-discuss@sourceware.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).