From: Lin R. <wo...@pa...> - 2010-11-21 19:57:12
|
Finally I installed a Linux and compiled Nov 21 snapshot. Following Alexander's way, after changing SDCCpeeph.c both "127" in line 210 and line 253 to "100", now my 300k bytes binary Z80 software works. What Alexander did, only change line 210 to "125" does not solve my problem. Compared with 2.9.0, there is about 5% reduced code size. Thanks for the good job! Woody http://palmmicro.com/woody/ ----- Original Message ----- From: "Lin Rongrong" <wo...@pa...> To: <sdc...@li...> Cc: <su...@pa...> Sent: Sunday, November 21, 2010 6:10 AM Subject: Re: Compile SDCC with cygwin >I read the document and found that I did not follow the correct .configure >parameters, trying again right now... > > Woody > > http://palmmicro.com/woody/ > > ----- Original Message ----- > From: "Lin Rongrong" <wo...@pa...> > To: <sdc...@li...>; <su...@pa...> > Sent: Sunday, November 21, 2010 12:20 AM > Subject: Compile SDCC with cygwin > > >>I was planning to try what Alexander did with bug #3109557, I installed >>latest cygwin on my 64-bit Windows Vista, downloaded the Nov 20 snapshot >>SDCC source code, and compiled it. >> SDCC -v shows: >> SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.1 >> #6064 (Nov >> 20 2010) (CYGWIN) >> When I was actually using it to compile, the first file showed: >> C:\SDCC\BIN\sdcc main.c -mz80 -c --codeseg CODE0 >> Preproc file not found: No such file or directory >> ..\bin\make: *** [main.o] Error 1 >> >> I have also noticed that my compiled sdcc.exe is 4M bytes, twice as large >> as I downloaded from SDCC website. And I need extra 2 cygwin DLL to run >> it. Is this correct? >> >> Woody >> >> http://palmmicro.com/woody/ >> >> ----- Original Message ----- >> From: "Lin Rongrong" <wo...@pa...> >> To: <sdc...@li...>; <su...@pa...> >> Sent: Saturday, November 20, 2010 6:29 AM >> Subject: Re: [Sdcc-user] Z80 Error <a> machine specific addressing or >> addressing mode error >> >> >>> Seems that Alexander already provided a solution but not included in >>> snapshot? >>> >>> Woody >>> >>> http://palmmicro.com/woody/ >>> >>> ----- Original Message ----- >>> From: "Philipp Klaus Krause" <pk...@sp...> >>> To: <sdc...@li...> >>> Sent: Saturday, November 20, 2010 5:33 AM >>> Subject: Re: [Sdcc-user] Z80 Error <a> machine specific addressing or >>> addressing mode error >>> >>> >>>> Am 19.11.2010 13:33, schrieb Lin Rongrong: >>>>> I got the following error with both 3.0.0 and Nov 18 snap build: >>>>> menu.asm:3175: Error <a> machine specific addressing or addressing >>>>> mode >>>>> error removing menu.rel >>>>> Where menu.asm was compiled from menu.c. >>>>> line 3175: jr 00107$ >>>>> 00107$ is 90 instructions below in line 3282. >>>>> jr range compiled wrong? should be jp? >>>>> >>>> >>>> Yes. See bug #3109557. >>>> >>>> Philipp >>>> >>>> ------------------------------------------------------------------------------ >>>> Beautiful is writing same markup. Internet Explorer 9 supports >>>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >>>> Spend less time writing and rewriting code and more time creating >>>> great >>>> experiences on the web. Be a part of the beta today >>>> http://p.sf.net/sfu/msIE9-sfdev2dev >>>> _______________________________________________ >>>> Sdcc-user mailing list >>>> Sdc...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sdcc-user >>> >> > |