My machine has both gnuarm and codesourcery toolchains installed. I am porting a source tree with >100 source files from a proprietary toolchain to gnuarm...
... I use %.o: %.c @echo "Compiling $< to $@" $(CC) $(CFLAGS) -o $@ $< CFLAGS includes -c I think it is probably broken to use $^ with a wildcard rule. I am...
... A few weird things: @echo show nothing. I have to use plain echo. I have some mixed capitalization in the original file names, and it causes some strange...
... The @ is a comment. I only turn on the echo when debugging the makefile. ... There are some rules regarding case: .C causes different default handling than...
Sorry Charles. The @ is not a comment. Rather, it suppresses echo of the invoked command to shell stdout; i.e. it just runs the command silently in the...
One of the big problems with using Windows for this kind of stuff is that it doesn't care about upper/lower case in filesnames or extensions. However, cygwin...
... I converted all filenames to lower case, and that particular problem went away. I had already installed both GNUARM and Codesourcery toolchains before I...
... Thank you for that correction. ... Adding an explicit rule can fix that too. Either by renaming the *.C file to *.c or by adding command line options to...
... I'm pretty sure it doesn't cover CORTEX as it is based on GCC and I think that part is still being developed. I could be wrong... ... Eclipse is a nice...
... gcc mainline has included their stuff since 4.3.0 according to: http://elua.berlios.de/tut_gcc_cortex.html This shows you how to build a cortex (thumb2)...
... Yagarto comes with a few things preconfigured. But you can install your own, we have done it and it is not too difficult specially if you already have...
I want to use the following line to declare an array at a specific memory location in flash.  const unsigned char eeprom[EE_SIZE] _at_ EE_ADDR_L;  But...
... Correct, some compilers / linkers use that notation. The GNU system uses the __attribute__ to assign data to a segment name, then the linker script is...
... linker ... You will find it easy to create a region at the beginning of flash (except that won't work because of the interrupt vectors) or at the end of...
... You have to put it in a different section with the section attribute. Check gcc docs for exact syntax. Once you have done that you have to modify your...
... I try to not use any special compiler extensions like _at_ or the gnu attribute stuff because it kills portability. I always use assembly ad/or ldscripts...
dont understand y u didnt understand my message... anyways.... I 'm new to using eclipse IDE. I would like you to help me. Can u please tell me y it shows the...
I use a custom linker script along with a header file. Example (for ... // Type Def for the SPI interface typedef struct { /* Definition */ } _SPI_TYPE; ...
Some people don't realize that english may be very difficult to some... but try not to use ebeviations, it only makes it worse. If you are having problem with...
I have a large number of C files I have successfully compiled under GNUARM with the -mthumb -mthumb-interwork options. I am trying to link these objs together...
Hi, for accessing memory or memory-mapped peripherals at a specific address, I prefer the use of the following construct: #define MY_DEVICE (*(volatile...
For the linker command file: gcc -Wl,--verbose dummy.c You will see the linker command file there. dummy.c /// -----> int main(void){ return 0; } /// <---- For...
OK, by examining the lengthy verbose link output for a modified 'dummy' program, it looks like the necessary libs were discovered automatically, and there was...
Make sure you get the library inclusion order correct. gcc/ld tries library linking in the order specified. If you have ld ... -la ... -lb ... and library b...
I don't think the library order is the problem. The libraries I have tried linking, libc.a, libm.a, libgcc.a are opened by the ld, but it just isn't finding...
... The assumption, on my part, is that you are trying to build an embedded app rather than one on an ARM system running Linux? Correct? If that is the case,...
it is not actually problem with ethernut. I 've problems with luanching the makefile Raj ... From: Alain M. <alainm@...> To: gnuarm@yahoogroups.com Sent:...