This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: hello world app SEG faults with Linux synth target
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