Re: [ooc-compiler] Im new here and need 1st help
Brought to you by:
mva
|
From: Stewart G. <sgr...@ip...> - 2001-05-17 22:50:22
|
Michael van Acken wrote: > > "Ulrich Schmidt" <ul...@gm...> writes: > > > Hi all. > > Im a Pascal fan and i want bild a compiler for epoc, that is running > > on epoc (ARM7100). oberon is not far away from pascal and i think > > its easier to port ooc to epoc than to port free pascal or virtual > > pascal :) firt i tried to compile the ooc sources with POW under > > win98, but it seens this compiler doesnt like compiler switches. > > > So my 1st question is: what a (freeware) compiler compiler compiles the ooc > > sourses? > > oo2c compiles oo2c. There are no other options ;-) gcc? ;-) You can compile oo2c under win98 using the cygnus tools (http://sources.redhat.com/cygwin/). Once you've bootstrapped oo2c with the C compiler, it will compile itself. > > > any howtos around? > > "Howtos" on which topic? The bulk of OOC documentation is in the > Reference Manual. It is linked on http://ooc.sourceforge.net/. > > > is there a backend for Intel x86 ? > > is there a backend for ARM7xxx already? > > is there a backend howto available? > > No to all three questions. But of course, you can target almost any CPU with the C back end and the appropriate C compiler. However, oo2c does not cross-compile in its standard configuration. I ran oo2c natively under ARM Linux without difficulty. The only problem was related to the word ordering for double precision REAL, but there is a workaround already documented under PROBLEMS (see the comments for NetBSD/arm32). Compaq have a cluster of SA110 Linux boxes publically available for porting code to their iPaq PDA which uses the SA1110 CPU. Cheers, Stewart |