From: geirt AT powertech DOT no (Geir Thomassen) Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc as a cross-compiler Date: Mon, 24 Feb 1997 08:08:22 GMT Organization: Jotron Electronics Lines: 38 Message-ID: <5erhjg$ep0$1@troll.powertech.no> References: <1 DOT 5 DOT 4 DOT 16 DOT 19970221102005 DOT 296f7862 AT dmeasc DOT rc DOT ipt DOT br> NNTP-Posting-Host: gw1-1.sandefjord.no.powertech.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Cesar Scarpini Rabak wrote: >At 22:30 19/02/97 -0600, Colin W. Glenn wrote: >>On Tue, 18 Feb 1997, Geir Thomassen wrote: >>> "John M. Aldrich" wrote: >>> >>> Does anyone know of a compiler which is easier to port to 8 bit and >>> 16bit processors, micro controllers, and DSPs ?? >> >>Just to stick my two bits in, Dave Dunfield has a series of >>cross-compilers available. >But Dunfield's cross compilers are not free (in the FSF sense) and the only >'gratis' compiler available is a version for 8088 which builds only small >model apps, and is not fully ANSI conforming. Agree. I have tried the 8051 compiler from Dunfield. It is usable, BUT it is not near ANSI, and generates about 20 % more code than the IAR 8051 compiler (www.iar.com). The IAR compiler is fairly expensive, and very buggy, at least v5.12. It is in my opinion not worth the money, because of the bugs. A good compiler to port to other architectures should have extensive support for optimisation in the early stages of the compiler (low level opt. is of course architecture dependent), correct error messages (i.e. a clever parser), and be (near) ANSI. | Geir Thomassen, | geirt AT powertech DOT no | | R&D Engineer, electronics (MSc) | LA7HFA, qrv 2.45GHz :-) | | | | | Jotron Electronics a.s. | Phone +47 33124577 | | P.O. Box 85 | Fax +47 33126780 | | N-3280 Tjodalyng | Priv +47 33458231 | | Norway | Telex 21715 TRON N | | | | 9.81 m/s^2 - the best way to accelerate a PC ! |