[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] F-CPU gcc CVS



On Thu, Jan 23, 2003 at 08:27:04AM +0100, devik wrote:
[...]
> IMHO now comes the emulator - you could handle syscalls by means
> of mapping them directly or thru some xlat table to linux syscalls.
> Yes I know it is linux dependent (so should be option) but it is
> the fastest way.

You mean, call `int 0x80' directly on an Intel box? I'd rather stick
to the libc interface that I use now.

> Then we can take uClibc and write syscall fn in assembler. Then we
> should be able to compile any application (bash f.e.) and RUN it !

First we need a linker (at least a static one), and I have to teach the
emulator how to execute ELF files. It's currently more a machine emulator
than a Linux emulator.

> It allows us to test compiled output and measure some things before
> digging blindly into compiler ...

Yep.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/