This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hello world app SEG faults with Linux synth target


On Thu, Jul 23, 2009 at 1:49 PM, Sergei
Gavrikov<sergei.gavrikov@gmail.com> wrote:
> Mandeep Sandhu wrote:
>> After the stdiooutput test worked, I thought I'd try and run the
>> simple hello world program too! (just for completeness support).
>>
>> For this to work, I had to add the extra package libc_stdio (and it's
>> related dependencies).
>>
>> However, on running the hello world app, there's no output.
>>
>> Strangely now, even my earlier stdiooutput program (which was working)
>
> [snip]
>
> Are you sure that you use `i386-elf-gcc' as it was yesterday? May be
> your today's build was done with host GCC again?
>

Yeah, pretty sure its using i386-elf. Confirmed this from the makefile
as well as the make output.

I even did a clean build (removed all *.o files)...but that did not help.

Does adding libc_stdio have anything to do with this? I've tried going
back to the old config, i.e w/o stdio and friends, and start with a clean
build....but that too did not help. :(

Maybe I'll reinstall everything again...even ecos?! :/

BTW, does make clean work? There's no "clean" target defined in
the makefiles of the subdirectories! I always have to manually delete
the generated obj files.

-mandeep

> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]