Re: [Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Erik Petrich
On Fri, 20 Dec 2013, Ben Shi wrote: > And the for.c is in the standard regression test of SDCC > > http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/regression/for. > c > > sdcc for.c -mmcs51 > for.asm:175: Error: missing or improper operators, terminators, or > delimiters > for.asm:

Re: [Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Philipp Klaus Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 20.12.2013 02:48, schrieb Ben Shi: > And the for.c is in the standard regression test of SDCC > > http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/regression/for.c > > > > I use the latest code e8919 in the svn reposit, with configure

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Dave McGuire
On 12/19/2013 05:40 PM, Masur Jonathan wrote: > Le 19.12.2013 11:12, Dave McGuire a écrit : >>Well, GCC supports AVR because people wrote AVR support into GCC. ;) >> AVR is a bit more "compiler friendly" than, say, the Z80. > > Well, I'm not familiar with Z80, but by "compiler friendly" I gues

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Dave McGuire
On 12/19/2013 05:48 PM, Philipp Klaus Krause wrote: >>> Well, GCC supports AVR because people wrote AVR support into >>> GCC. ;) AVR is a bit more "compiler friendly" than, say, the >>> Z80. > >> Well, I'm not familiar with Z80, but by "compiler friendly" I >> guess this basically means RISC right

Re: [Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Ben Shi
And the for.c is in the standard regression test of SDCC http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/regression/for.c I use the latest code e8919 in the svn reposit, with configure make all make install 在2013年12月19 16时22分,"Ben Shi"写道: Sorry, the error info should be

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Philipp Klaus Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.12.2013 23:40, schrieb Masur Jonathan: > Le 19.12.2013 11:12, Dave McGuire a écrit : >> Well, GCC supports AVR because people wrote AVR support into GCC. >> ;) AVR is a bit more "compiler friendly" than, say, the Z80. > > Well, I'm not familiar

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Masur Jonathan
Le 19.12.2013 11:12, Dave McGuire a écrit : >Well, GCC supports AVR because people wrote AVR support into GCC. ;) > AVR is a bit more "compiler friendly" than, say, the Z80. Well, I'm not familiar with Z80, but by "compiler friendly" I guess this basically means RISC right ? Each operation ca

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Philipp Klaus Krause
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.12.2013 22:33, schrieb Masur Jonathan: > Hello guys, This might be out of topic, but while this was > mentionned, I've asked me this question a few times so I hope > somebody has an answer. > > How comes AVR can be targetted by gcc at all ? AVR

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Dave McGuire
On 12/19/2013 03:58 PM, Jan Waclawek wrote: >> There really doesn't seem to be much of a point; GCC's AVR support is >> very good these days. > > True, however sad it may be. It's sad that GCC supports AVR? What a thoroughly odd thing to say. > SDCC certainly has potential to support 8-bitte

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Dave McGuire
On 12/19/2013 04:33 PM, Masur Jonathan wrote: > This might be out of topic, but while this was mentionned, I've asked me > this question a few times so I hope somebody has an answer. > > How comes AVR can be targetted by gcc at all ? AVR might be RISC, true, > but it is a 8-bit architecture, and

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Masur Jonathan
Hello guys, This might be out of topic, but while this was mentionned, I've asked me this question a few times so I hope somebody has an answer. How comes AVR can be targetted by gcc at all ? AVR might be RISC, true, but it is a 8-bit architecture, and the standard gcc compiler is optimized for

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Jan Waclawek
> There really doesn't seem to be much of a point; GCC's AVR support is >very good these days. True, however sad it may be. SDCC certainly has potential to support 8-bitters much better than gcc, but it's unlikely anybody will invest into the avr branch now - it's easier to learn to live with th

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Dave McGuire
There really doesn't seem to be much of a point; GCC's AVR support is very good these days. I don't mean that as a statement against SDCC in any way; I love SDCC, and have for many years. But its specialty is supporting small processors (more small *architectures* than processors) that are n

Re: [Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Maarten Brock
It is dead. AFAIK it cannot generate correct code and there is no one working on it. > Hello, > > Is the AVR branch still alive? I see some updates in the svn reposit but > why it is disabled by default while building? > > Can it be used or not? > > Ben --

[Sdcc-user] Help - About AVR Branch of SDCC

2013-12-19 Thread Ben Shi
Hello, Is the AVR branch still alive? I see some updates in the svn reposit but why it is disabled by default while building? Can it be used or not? Ben -- Rapidly troubleshoot problems before they affect your business

Re: [Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Maarten Brock
Hello Ben, Welcome to SDCC. But we really can't help you this way. You seem to expect us to have a crystal ball in which we can read your for.c implementation. Maybe you can send it to us? Maarten > Sorry, the error info should be > > > > > sdcc for.c -mmcs51 > for.asm:175: Error: missing or im

Re: [Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Ben Shi
Sorry, the error info should be sdcc for.c -mmcs51 for.asm:175: Error: missing or improper operators, terminators, or delimiters for.asm:179: Error: missing or improper operators, terminators, or delimiters removing for.rel 在2013年12月19 16时18分,"Ben Shi"写道: Hi, I am new to SDCC and w

[Sdcc-user] An Error While Trying Latest SDCC

2013-12-19 Thread Ben Shi
Hi, I am new to SDCC and want to try it, however an error rises while trying it. Anybody who can help me is highly appreciated. My steps: 1. configure --prefix=/home/binshi/sdcc/build/ 2. make all 3. make install 4. sdcc -v SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TIN