This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Porting kvm onto eCos
- To: yogeshd at aftek dot com
- Subject: Re: [ECOS] Porting kvm onto eCos
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 04 Apr 2001 16:19:39 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <01040418401500.04833@localhost.localdomain>
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