From: Gary M. <Gar...@st...> - 2001-06-26 09:17:19
|
On Jun 26, 12:18am, ka...@tu... wrote: > Subject: Re: [Sdcc-user] SDCC - 2th first try > > > > The Borland pkgs have some missing pieces: > * can't compile the src pkg from scratch(makefiles incomplete, native > tool set incomplete(no lex/bison thing)). > * can't compile the sdcc libraries(no win32 makefiles). > * can't run simulator(No win32 support). > Whereas with Cygwin you can do all of the above. > (of coarse a stripped down Cygwin probably has less value > than a Borland compiled set.) > > I do like the idea of putting together a Borland Windows > binary package. I think there are a lot of windows > people that want a quick download they can > setup in 10-15 minutes. And getting a full-cygwin, and > compiling the sources(and dealing with a bash prompt) is > a bit much for a lot of people.(Takes damn near forever > too!) > > Most of the win binary distributions so far have not been > thought out real well(just the .exe files for example). > A better win offering can be done, it just requires some > work to get right. > > Or we could just wait a few years until everyone is > running Linux :) > > karl. > >-- End of excerpt from ka...@tu... I hope that when the next official release of SDCC occurs, that someone creates a Borland release. I have been using V2.2.1 for some time. I had problems in the very beginning only because there was no documentation. I discovered that paths are hard coded into the Borland code. If you use the right paths "c:/sdcc/local" (I think!) then it all works without the hassle of -I and -L switches. It even occurred to me that the SDCC compiler should check some environmental variables (for example SDCC_BIN and SDCC_LIB) in order to work out where to find the includes, libraries and support binaries so that the user is free to use whatever directory structure they prefer. In order to find out why the sdcc compiler was running very slow (*) I had to be able to re-compile the package. In order to generate the C files which required lex and yacc I installed SDCC under Linux. The sources compiled first time. I then copied the missing C files over to the DOS partition and was able to complete the Borland compilation. If someone does a Borland release, don't forget to included these "special" C sources. (*) I discovered the known problem of files being created in TEMP and never been deleted. When I looked I found thousands! Anyway thanks to Sandeep and the development team. --Gary -- --Gary STMicroelectronics, 1000 Aztec West, Almondsbury, Bristol BS32 4SQ, UK. Tel: +44 1454 462639 FAX: +44 1454 617910 |