This is the mail archive of the ecos-discuss@sources.redhat.com 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: Problem in ecos test files


At 06:56 20/02/2002 -0800, Shaojie Wang wrote:
>Hi,
>
>I just downloaded ecos 1.3.1 and configured it for
>i386 successfully on LINUX. A problem occurs when i
>tried to run the test program. There is segmentation
>fault when i run the hello example on the host.
>
>The guide syas i use gcc -g ... -Ttarget.ld -nostdlib
>to compile "hello.c". Then use gdb -nw a.out to
>execute the program. But there is a segmentation
>fault.
>
>Why i should use "gcc" and "gdb", not "i386-elf-gcc"
>and "i386-elf-gdb"? The version of the gcc installed
>on my machine is 2.96 while i use gcc of version 2.95
>to build the i386-elf-gcc.

The manual actually says that where there is a reference
to tool "gxx" you should substitute "i386-elf-gxx"




>Thanks,
>
>Shaojie
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Sports - Coverage of the 2002 Olympic Games
>http://sports.yahoo.com
>
>--
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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


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