Hi, I'm after some help from the experts. My build is failing due to a linking problem. It seems to be a problem with linking in liba. The error is complaining...
... My reaction is that the linker already knows about those sections and that you are overrunning the allowable length of one of them into the space set aside...
It is telling you that .text and the .data load area overlay eachother. I think the problem is likely to be due to the AT() bit in   .data : AT (ADDR(.text)...
Hi Charles, Tom, Doing the change as Charles suggested has resolved the overlay problem. Thanks for that. I'm still getting the undefined reference errors...
... I will almost guarantee that this is due to a linker ordering issue. The linker will only link in the order you specify. Lets say you have library a that...
Hi Charles, I appreciate the help. I think that libc.a is not being found. I have the line; EXTRA_LIBDIRS+= C:/Program Files/CodeSourcery/Sourcery G++ ...
... Aaargh! Mixing Windows and POSIX is always a bit ugly. Perhaps you can put them in quotes. EXTRA_LIBDIRS+= "C:/Program Files/CodeSourcery/Sourcery G++ ...
Or, replace "Program Files" with "Progra~1", which is the usual short (8.3 DOS compatible) version. Check the help for the "dir" command, one of the options...
Hi all, With lots of help from various sources, the problem was to do with the libraries not including syscall. I solved it by adding syscall.c into the...
Hi, all, I am using the GNUARM binary (bu-2.17_gcc-4.1.1-c-c++_nl-1.14.0_gi- 6.5.exe) to build u-boot for pxa270. It turned out that this binary is built using...
I have bee searching for quite a while for a good C reference for the GNU ARM c compiler and I am not having much luck. Any good books? Can anyone point to a...
... By far, the best book for learning C is the original book by Kernighan and Ritchie (the developers of the C language), entitled "The C Programming...
Hi, Each compiler is different and cannot be trusted. Some programmers have a file like "portable.h" that they change for each compiler. They just always say...
... This is usually avoided because it is non portable and vary problematic. When it is absolutely nescessary you can use a *union* of your array and another...
... If you are ever importing/exporting binary data from/to the outside world then proper data marshalling is important. This can also make your code 100% ...
... Yeah, but. In reality, we all have done this, probably much more often than we wished... Don't get discouraged over the portability issues, just start...
... It's a Gnu compiler, so the gnu manual covers it pretty well -- www.gnu.org. You've already been pointed to K&R for a manual. I think K&R is excellent to...
... It seems you have two problems: First, the 1.elf code is using hardware FP and it shouldn't be. I have no idea where 1.elf came from (it doesn't seem like...
1 is actaully the name of my project...... wen u genrate an hex file... the files comes as 1.hex.. similarly it mite be another downloadable file called...
hi richard, i didnt understand what u meant by.... " I would be very nervous about embedded blanks in paths under Windows. I would surround the paths with " "...
Hi, I have a problem restoring registers r0-r15 with this instruction LDMIAÂ Â r13,{r0-r15}^ on OMAP1610. only registers from r0-r12 & r15 are restored with...
Couldn't find a datasheet for the OMAP1610. But I guess your "problem" is that you're changing modes. r13 & r14 are normally banked registers in all modes. See...
i tried building the example proj they had provided........... but it still shows the same error.. i followed the procedure as told by them. Raj ... From: Tom...
After installing 4.1.1 on x86, I was able to compile some demo arm code and even load that into GDB and step thru in the simulator. I am not able to do that...