public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] prob to make Executable
@ 2002-03-26  2:29 Samiran
  2002-04-01 22:50 ` Jesper Skov
  0 siblings, 1 reply; 3+ messages in thread
From: Samiran @ 2002-03-26  2:29 UTC (permalink / raw)
  To: ecos-discuss


Hi all ,

can u  tell what kind of problem is this ?

I am trying to make an executable file of a   .c file , when I am using
general gcc then it works but when I am using  i386-elf-gcc
then it is not working . it is given below .

$ /tools/H-i686-pc-cygwin/bin/i386-elf-gcc.exe  -o hello crt0.o hello.c -I
//d/ecos/work/tt2_install/include/
crt0.o(.text+0x0):crt0.c: multiple definition of `_mainCRTStartup'
crt0.o(.text+0x0):crt0.c: first defined here
crt0.o(.data+0x0):crt0.c: multiple definition of `___cygwin_crt0_bp'
crt0.o(.data+0x0):crt0.c: first defined here
/tools/H-i686-pc-cygwin/i386-elf/bin/ld: cannot find -lc
collect2: ld returned 1 exit status


how can I solve this prob. ?


thanks 

rgds.
Samiran



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] prob to make Executable
  2002-03-26  2:29 [ECOS] prob to make Executable Samiran
@ 2002-04-01 22:50 ` Jesper Skov
  2002-04-01 23:02   ` [ECOS] Making of Cygmon for IXP1200 gopi
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Skov @ 2002-04-01 22:50 UTC (permalink / raw)
  To: Samiran; +Cc: eCos Discuss

On Tue, 2002-03-26 at 09:02, Samiran wrote:
> 
> Hi all ,
> 
> can u  tell what kind of problem is this ?
> 
> I am trying to make an executable file of a   .c file , when I am using
> general gcc then it works but when I am using  i386-elf-gcc
> then it is not working . it is given below .
> 
> $ /tools/H-i686-pc-cygwin/bin/i386-elf-gcc.exe  -o hello crt0.o hello.c -I
> //d/ecos/work/tt2_install/include/
> crt0.o(.text+0x0):crt0.c: multiple definition of `_mainCRTStartup'
> crt0.o(.text+0x0):crt0.c: first defined here
> crt0.o(.data+0x0):crt0.c: multiple definition of `___cygwin_crt0_bp'
> crt0.o(.data+0x0):crt0.c: first defined here
> /tools/H-i686-pc-cygwin/i386-elf/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
> 
> 
> how can I solve this prob. ?

If you're trying to build an eCos app, you'd do well by following the
documentation. You're missing all sorts of compiler options. The Getting
Started Guide should help you.

Jesper


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Making of Cygmon for IXP1200
  2002-04-01 22:50 ` Jesper Skov
@ 2002-04-01 23:02   ` gopi
  0 siblings, 0 replies; 3+ messages in thread
From: gopi @ 2002-04-01 23:02 UTC (permalink / raw)
  To: eCos Discuss; +Cc: naeem.m.afzal, duke.tallam

I got the cygmon tar kit for IXP1200 Eval board from netwinder.org

The configure & make involves making of so many things like gcc,
bison, yacc, gas etc.

We already have the armv4b-unknown-linux-** utilities from the
netwinder.org.   So, I want to use this gcc and other tools instead of
making them all over again just for cygmon.

Has anybody tried to do this?

thanx
gopi
PS: Is anybody working on redboot for ixp1200?


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-02  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26  2:29 [ECOS] prob to make Executable Samiran
2002-04-01 22:50 ` Jesper Skov
2002-04-01 23:02   ` [ECOS] Making of Cygmon for IXP1200 gopi

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).