Hello everyone. I realize that this isn't necessarily the most appropriate forum for this, but it is the most responsive :) I'm having troubles trying to get some of the samples for my dev kit to compile properly. I installed everything as per defaults, but that didn't seem to set up a lot of necessary environment variables. I'm trying to compile the uart_irq sample. I have updated the executable path to be able to find make and the compilers, then it couldn't find any header files, so I updated the make files to include all necessary paths to find header files, then I got problems finding -lgcc and -lc, so I added -L flags to the makefile to point to (what I think are the correct) library paths, but now I get this: ------------------------------------------------ make[1]: Entering directory `uart_irq/startup' rm -f .depend make[1]: Leaving directory `uart_irq/startup' make[1]: Entering directory `uart_irq/irq_code' rm -f .depend make[1]: Leaving directory `uart_irq/irq_code' rm -f .depend arm-elf-gcc: /Progra~1/GNUARM/arm-elf/lib/thumb/interwork: linker input file unused because linking not done arm-elf-gcc: /Progra~1/GNUARM/arm-elf/lib/thumb/interwork: linker input file unused because linking not done arm-elf-gcc -c -mcpu=arm7tdmi -mthumb-interwork -I./startup -I/Progra~1/gnuarm/arm-elf/include -I /Progra~1/gnuarm/lib/gcc/arm-elf/3.4.3/include -DEL -DGCC -mthumb-interwork -mthumb -DTHUMB_CSTART -DTHUMB_INTERWORK -L/Progra~1/GNUARM/lib/gcc/arm-elf/3.4.3/thumb/interwork /Progra~ 1/GNUARM/arm-elf/lib/thumb/interwork -DLPC2148 -Os -gdwarf-2 -Wall -Wcast-align -Wcast-qual -Wimplicit -Wnested-externs -Wpointer-arith -Wswitch -Wreturn-type -Wa,-ahlms=main.lst -o main.o main.c arm-elf-gcc: /Progra~1/GNUARM/arm-elf/lib/thumb/interwork: linker input file unused because linking not done cc1: /Progra~1/GNUARM/arm-elf/lib/thumb/interwork: No such file or directory cc1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [main.o] Error 1 ------------------------------------------------ yay segfault! I'll admit, I'm a windows guy, I use command line a lot, but I have very little experience with cygwin and gnu utilities. I have a licence to the ARM SDK 2.51 so I will probably try to use that in the future, but for now I'd just like to get the sample apps compiling and loaded. Any ideas anyone? Thanks! -- Sean
Message
[lpc2000] pb getting EA's examples to compile (general gcc-arm help!)
2006-01-24 by Sean
Attachments
- No local attachments were found for this message.