public inbox for
 help / color / mirror / Atom feed
From: John Dallaway <>
To: "Claus Lensbøl" <>
Cc: eCos Discussion <>
Subject: [ECOS] Re: Error compilling synth target
Date: Sun, 26 Apr 2015 13:48:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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_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:


in order to force 32-bit compilation and linking on your 64-bit Linux host.

I hope this helps...

John Dallaway
eCos maintainer

Before posting, please read the FAQ:
and search the list archive:

      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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* 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).