M68HC1x Group
Re: GEL printf/puts newline optimization
puts has to add a newline, fputs must not. Well I'm not sure if this does make sense, it just happens to be the way those functions are defined. ANSI C99:
Categories: Software
Re: GEL printf/puts newline optimization
... Actually, he's exactly right. I spoke incorrectly. Well, not quite exactly right. C knows nothing about CR, but it does know about LF. The specific device
Categories: Software
Re: GEL printf/puts newline optimization
... Jeremy, Are you saying that puts() is supposed to append new line but fputs() is not? That wouldn't make sense. I assume that fputs appends the new line.
Categories: Software
Re: XGATE programming
... Too bad gnu-m68hc11 doesn't support XGate. That would have been a good start. Try another mailing list (68HC12 on Yahoogroups).
Categories: Software
Re: GEL printf/puts newline optimization
... Is it not true that, according to the standard, fputs writes a string with no CR at the end and puts appends the CR? If this is true, then the code for
Categories: Software
Re: GEL printf/puts newline optimization
... You were misinformed, I guess. It seems that it must be done by fputs(.,.), which presumably checks for stdout as its second parameter. Mike --
Categories: Software
GEL printf/puts newline optimization
I'm aware of the optimization in which printf calls with simple strings become puts calls instead. I noticed that those literal strings were getting their
Categories: Software
XGATE programming
Hi!!! I am new to XGATE(S12X). i hav a program having interrupts handled by S12X CPU. But my requirement is that some interrupts r to be handled by XGATE
Categories: Software
Re: DBUG12 - GCC - How to use and compile C codes
... Maybe you are saying that this does not work with GCC? What does it do instead? I think there is at least one example in GEL about calling a pointer as a
Categories: Software
DBUG12 - GCC - How to use and compile C codes
Hi everyone, I am using Linux (Debian) and try to use D-Bug 12 features in my C code. Could you please let me know how can I do this? gcc version:
Categories: Software
Re: S12 In Linux need help
... BTW that -Map crashes your linker before finishing the map output, so it's not very useful. I'd use m68hc12-objdump for most. Size varies for example when
Categories: Software
Re: S12 In Linux need help
... memory. ... I changed in memory.x the leght to 0x8000 to but still the same to do the same type of error! m68hc12-gcc -I -I/usr/m68hc11/include -Wall
Categories: Software
Free: very useful magazines
Friends, I found some of the very useful (free) magazines on net.. For computer, telecom, electronics, feed & beverage, business, call center, offshoring and
Categories: Software
Re: S12 In Linux need help
... The Sections .text, .rodata, .data all take space in the 16K bank of Flash currently defined [0x4000..0x7fff]. I looked at the errors and calculated the
Categories: Software
Re: S12 In Linux need help
... wrote: [...] ... There's more... See http://m68hc11.serveftp.org/wiki/index.php/Soft:libs for reasons why you would still have problems.
Categories: Software
Re: S12 In Linux need help
... Yes i understand!!and its very usefull but i got ths error!! m68hc12-gcc -I -I/usr/m68hc11/include -Wall -m68hc12 -g -Os -mshort -Wmissing-prototypes
Categories: Software
Re: S12 In Linux need help
... -L/usr/lib/gcc-lib/m68hc11/3.3.5-m68hc1x-20050515/../../../../m68hc11/lib/m68hc12/mshort ...
Categories: Software
Re: S12 In Linux need help
... My make messanges from my hello world with the flag "-v" m68hc12-gcc -I -I/usr/m68hc11/include -Wall -m68hc12 -g -Os -mshort -Wmissing-prototypes -c -o
Categories: Software
Re: S12 In Linux need help
... wrote: [...] ... Well, I know there was a typo in something I had posted. I see you have commented
Categories: Software
Re: S12 In Linux need help
Hello!! Now i'm try to link my program with the m68hc11 lib but i got a link problem! The lib that i try to use is stdio.h! Please look to my file and see were
Categories: Software
Recent comments
16 years 41 weeks ago
16 years 41 weeks ago
16 years 41 weeks ago
16 years 41 weeks ago
16 years 41 weeks ago
16 years 41 weeks ago
16 years 46 weeks ago
17 years 5 weeks ago
17 years 6 weeks ago
17 years 7 weeks ago