... I'm using m6811-gcc on FreeBSD, and have not encountered such problem (map file is the only seg-fault trouble so far). I have several projects, from small...
I believe that I've found a bug in the code generated for any optimization level other then -O0. Here's a simple example that shows the problem: #define...
... Could you please detail which compiler version you use and maybe post the RTL dump that you get after the "expand" pass? It would also help to post a...
Björn Haase
bjoern.m.haase@...
Jan 2, 2006 9:04 pm
7588
... since ... I have always generated a .map file. When I took that out, the problem went away. So it's the same bug. Yesterday, I could make this bug stop...
Hi Bjorn; I'm using gcc 3.3.5 with version 3.0.1 release of the HC1x compiler diffs. I built the compiler myself from source. I've cut my example down to...
I have installed binutils, gcc, and newlib from sources but I get this when I try and build a source file for the hc12.. [inchoate 11:09] ~ >m6812-elf-gcc...
... By using the code found at this link <http://www.uclibc.org/lists/uclibc/2004-December/010668.html>, to comment out a call to bfd_hash_table_free() in...
... Hi Stephen, Salut St´ephane, IMO, you have found a real wrong code bug. The problem shows up at text emission (i.e. last compiler pass). Problems show up...
Björn Haase
bjoern.m.haase@...
Jan 3, 2006 11:33 am
7593
... As a quick workaround that works only for hc12, you could change lines 4141ff in gcc/config/m68hc11/m68hc11.c to read case HARD_X_REGNUM: output_asm_insn...
Björn Haase
bjoern.m.haase@...
Jan 3, 2006 4:01 pm
7594
Thanks Bjorn! I'll give that a try. Best regards, Steve ... Thanks Bjorn! I'll give that a try. Best regards, Steve Björn Haase wrote: ... As a quick...
I am trying to use pointers in my C program and the gnu gcc compiler doesn't seem to like them. I've included the following header files: malloc.h, stdlib.h,...
... I believe we all lack mind reading skills.. Post some code. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au...
... Also, Pointers are an intrinsic part of C. You don't need to #include anything to use them. -- Daniel O'Connor software and network engineer for Genesis...
... Unless you show us your code and where the error is reported, there is no way anyone can help. BTW, <malloc.h. is not a standard header. Mike -- ...
Mike McCarty
Mike.McCarty@...
Jan 6, 2006 5:35 am
7599
... I could give a shot at mind reading.... Besides darkness, I see something... almost tangible in your journey. I see... I see... pointers to the abyss......
lol, I think Jeff is trying to say, "show us the code that's not working and maybe we can fix it" pointers work just fine with gcc, I do all sorts of crazy...
NZG
ngustavson@...
Jan 6, 2006 6:18 pm
7601
... I see this kind of thing frequently, and it is a very good idea. However, one aspect of what you wrote is also very common, and not a good idea. You are...
Mike McCarty
Mike.McCarty@...
Jan 6, 2006 6:38 pm
7602
... Good point (way to go, NZG ;) I guess a better thing would be to prepent a "grouping" name. For example, PORT_IO8(0x01) to access the 8-bit PORTB...
Trying to control a stepper motor, I've tried different ports. The first PTH = 0; seems to work just fine (i've replaced it with 0xFF as well and that works)...
... I'd try to disentangle the handling of PTH from the logic of spinning the stepper. How does this code work? int Value; Value = 0; for (;;) { PTH = Value; ...
Mike McCarty
Mike.McCarty@...
Jan 9, 2006 1:53 pm
7605
I can actually put PTH = value again and again as a test with no loops, etc just to see if I can make the port change and I cannot.It only changes for the...
Hello, I am switching from "old" hc11 boards, assembly programming, to 9s12 boards, GCC programming. I have good experience in C programming, but not embedded,...
Now, I may not be doing this exactly proper, I don't know, but I managed to fumble my way through it, and it works. Below is my memory.x file, a snippet from...
... [...] ... You may want to use this instead: void __attribute__ ((section (".vectors"))) (* const interrupt_vectors[])(void) With this definition, you don't...
John-Mark Gurney
gurney_j@...
Jan 11, 2006 5:11 pm
7613
... GEL examples helped very much. In C you can use a special struct of type interrupt_vectors_t you can use with the GEL #include <sys/interrupts.h> ... Here...
Hello, I'm gentoo' user and i looked for ebuilds to make a clean install of m68hc1x. Of course, i "googled" for that but only one "old" site match with my...
Romuald Conty
conty.romuald@...
Jan 13, 2006 12:39 pm
7615
Thanks to all of you who answered my post, be sure I will study with care your examples ! I'll come back if I get lost ;-)...