From: Michael S. <msc...@ba...> - 2000-09-14 14:07:40
|
Michele, this all confuses me a bit ..... > c:\bin contains the copied files sh.exe, echo.exe, pwd.exe. i have copied the whole bin folder from the cygwin's bin stuff folder into this folder, i never know ... > I found some *.exe file into c:\sdcc\bin: aslink.exe, asx8051.exe, > sdcdb.exe. hey these files should be at > c:\usr\local\bin: empty. > c:\usr\local\share\include: seems ok with *.h files. > c:\usr\local\share\lib: *.c files and subdirs: flat24, large, small. hope subdirs are not empty > c:usr\local\share\sdcc5inc: empty. > c:usr\local\share\sdcc5lib: empty. yes, forget them they are not needed any more .. > If I create a dir with the Cygwin shell, the directory is shown with the > "unknown" name! ???? sorry. > I'm an 80C32 hobbiest and up to now I programmed only with assembler, I > would like to use a good freeware C compiler in order to have more fun with > my handmade board. hey, that is just the reason why i have chosen sdcc ! Dont give up, the bug must be a easy one to find. we will manage that. In order to help you, answer my mails to both adresses 1. msc...@ba... (work) 2. mic...@t-... (privat) so that i can help even on weekend, ... just before you give up, go to the OKR web site http://www.qsl.net/dl9sec/SDCC_OKR.htm and download the latest SDCC build (i did the build a few days ago). unpack it, so that you will get the folder structure as i have mailed that before c:\usr\local\bin with sdcc.exe .... c:\usr\local\doc ... c:\usr\local\share\... note the whole stuff must be located at c:\usr\local, as during compilation of sdcc the command ./configure" has the path /usr/local as the default path. so sdcc looks to find some files under these folders. now edit your autoexec.bat and search for the path statement. it may look like PATH=C:\windows;C:\windows\command;..... add the path for sdcc. the easiest way is to add a new line after your path statement PATH=.... (keep it as it is) PATH=c:\usr\local\bin;%PATH% (add this line) if missing, add also set TMP=c:\tmp set TEMP=c:\tmp now reboot ! now from a command prompt anywhere like c:\ a command like sdcc --version should display C:\>sdcc --version SDCC : mcs51/gbz80/z80/avr/ds390 2.2.1-PRE (10Sep2000-MS) ` (CYGWIN32) C:\> if you see this, we are not far away from the finish line ... want to check something else ? typ aslink and you should get the useage dump. if you have problems getting so far mail me (including your OS-Version Win9x ...) it seems that the doc of sdcc is not up2date. but the package you can get at the OKR is working, i promise as i use it here. Regards Michael PS: dont give up ! i also had my problems in the past, and some good ghost here helped me. |