* [ECOS] Hello, World issues
@ 2005-07-26 17:14 Joshua Fitzgerald
2005-07-26 18:05 ` Bart Veer
0 siblings, 1 reply; 2+ messages in thread
From: Joshua Fitzgerald @ 2005-07-26 17:14 UTC (permalink / raw)
To: ecos-discuss
Hello.
I built eCOS for the Linux synthetic target using all of the default
settings. I then wrote a very simple "Hello, World" C program and
attempted to compile it with the following command line:
i386-elf-gcc -I/home/josh/prj/smarthub/ecos_synth_install/include
HelloWorld.c -L/home/josh/prj/smarthub/ecos_synth_install/lib
-Ttarget.ld -nostdlib
and I get an error from the linker complaining that it cannot find
"libgcc_eh.a". I did a search for this file and could not find it in the
project's buidl subdirectories or in the eCos GNU toolchain directories.
Any ideas?
Thanks,
Josh
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] Hello, World issues
2005-07-26 17:14 [ECOS] Hello, World issues Joshua Fitzgerald
@ 2005-07-26 18:05 ` Bart Veer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Veer @ 2005-07-26 18:05 UTC (permalink / raw)
To: josh; +Cc: ecos-discuss
>>>>> "Josh" == Joshua Fitzgerald <josh@spcontrols.com> writes:
Josh> I built eCOS for the Linux synthetic target using all of the
Josh> default settings. I then wrote a very simple "Hello, World"
Josh> C program and attempted to compile it with the following
Josh> command line:
Josh> i386-elf-gcc -I/home/josh/prj/smarthub/ecos_synth_install/include
Josh> HelloWorld.c -L/home/josh/prj/smarthub/ecos_synth_install/lib
Josh> -Ttarget.ld -nostdlib
Josh> and I get an error from the linker complaining that it
Josh> cannot find "libgcc_eh.a". I did a search for this file and
Josh> could not find it in the project's buidl subdirectories or
Josh> in the eCos GNU toolchain directories. Any ideas?
Why are you building with i386-elf-gcc? The default should be gcc,
i.e. the native Linux compiler, unless you are doing something very
unusual like cross-compiling the synthetic target under Windows. AFAIK
all recent versions of the native gcc should come with a libgcc_eh.a.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-26 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26 17:14 [ECOS] Hello, World issues Joshua Fitzgerald
2005-07-26 18:05 ` Bart Veer
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).