public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Porting kvm onto eCos
@ 2001-04-04  6:13 Yogesh Deshpande
  2001-04-04  8:19 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Yogesh Deshpande @ 2001-04-04  6:13 UTC (permalink / raw)
  To: ecos-discuss

Hi,

  I am trying to port Sun's KVM (KJava Virtual Machine) onto eCos. 
Entire source code is in C and is compiled and executed on the Linux.  I
suppose that the same source code must get compiled with gcc cross compiler 
with minor changes such as replacing functions fseek(), ftell(), remove () etc
with their equivalents. But while compiling  and linking the same source code
using gcc cross compiler for eCos (host being Linux), compiler reports following
errors:  

ld: warning: cannot find entry symbol _start; defaulting to 08049d8c
undefined reference to `cyg_libc_stdio_stdout'
undefined reference to `hal_longjmp'


Can anybody enlighten in this regard.

Thanx in advance,

Yogesh Deshpnde,
Aftek Infosys Ltd.


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

* Re: [ECOS] Porting kvm onto eCos
  2001-04-04  6:13 [ECOS] Porting kvm onto eCos Yogesh Deshpande
@ 2001-04-04  8:19 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-04-04  8:19 UTC (permalink / raw)
  To: yogeshd; +Cc: ecos-discuss

Yogesh Deshpande wrote:
> 
> Hi,
> 
>   I am trying to port Sun's KVM (KJava Virtual Machine) onto eCos.
> Entire source code is in C and is compiled and executed on the Linux.  I
> suppose that the same source code must get compiled with gcc cross compiler
> with minor changes such as replacing functions fseek(), ftell(), remove () etc
> with their equivalents. But while compiling  and linking the same source code
> using gcc cross compiler for eCos (host being Linux), compiler reports following
> errors:
> 
> ld: warning: cannot find entry symbol _start; defaulting to 08049d8c

Sounds like you aren't using the eCos linker script.

> undefined reference to `cyg_libc_stdio_stdout'
> undefined reference to `hal_longjmp'


Those should be in libtarget.a in the lib/ subdirectory of your installed
eCos directory. At a guess they are missing because the lack of linker
script means libtarget.a isn't being linked either.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

end of thread, other threads:[~2001-04-04  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-04  6:13 [ECOS] Porting kvm onto eCos Yogesh Deshpande
2001-04-04  8:19 ` Jonathan Larmour

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