[ECOS] hello world app SEG faults with Linux synth target

Sergei Gavrikov sergei.gavrikov@gmail.com
Wed Jul 22 14:10:00 GMT 2009


On Wed, Jul 22, 2009 at 07:35:03PM +0530, Mandeep Sandhu wrote:
> > Let me try again by starting afresh, from scratch for everything, using the
> > i386-elf toolchain. Let me get back here then.
> 
> It worked! :)

[snip]

> edit ecos.ecc
> set CYGBLD_GLOBAL_COMMAND_PREFIX to "i386-elf"

That's right.

> change CYGBLD_GLOBAL_CFLAGS, append -fno-stack-protector
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

And this step is needed only if you use Debian/Ubuntu host GCC.

Will,

Sergei


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



More information about the Ecos-discuss mailing list