I've started up a C++ standard make project in Eclipse, where I would like to make an applikation for the lpc2138. So far everything has been going alright until I wanted to try to use the assert() function. I included the <assert.h> and also tried with the <cassert> but both times I got the message: undefined reference to `__assert' when linking. My linking command looks like this: -T $(LD_SCRIPT_RAM) -lstdc++ -Wl,-Map=".\bin\Ram\Blinky.map",-Ttext=0x40000000,-Tdata=0x40003000 \ --gc-sections -o .\RAM\Blinky.elf \ -nostartfiles -nodefaultlibs As I've never tried working with "make" before, I have a hard time finding out if my linking command is correct and which libraries to include. I use GCC to link. Best Regards Søren Hansen
Message
assert and GNUARM
2005-04-27 by soren_t_hansen
Attachments
- No local attachments were found for this message.