This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Writing OS with GCJ


On Mon, 2006-05-29 at 21:26 +0200, Henning von der Lieth wrote:
> Hello,
> 
> i'm going to write an operating system with the gcj-compiler. The goal is to 
> compile the java kernel to native code. 
> 
> What libarys (startcode for java, gcc std lib) do i need to load the kernel 
> image?

I recommend building an i386-elf configuration of the tools (assuming
this is an OS for a PC platform), and using the newlib C library.  You
should be able to statically link bootable executables with a little bit
of effort.  I've been able to create grub-bootable x86 programs this
way.

Anthony Green
+1 650 207-7122



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]