Closed GoogleCodeExporter closed 9 years ago
Sorry, but while compiler have you used?
Original comment by darioiam...@gmail.com
on 16 Jul 2011 at 6:08
Original comment by nick.pat...@gmail.com
on 21 Feb 2012 at 6:49
In order to cross compile successfully, you should:
1) install a toolchain which includes the C-library, as for example:
https://sourcery.mentor.com/sgpp/lite/arm/portal/release2029
2) include that toolchian bin/ into your PATH
3) change the definition of CC and LD in the Makefile:
CC = arm-none-linux-gnueabi-gcc
...
LD = arm-none-linux-gnueabi-ld
4) in the Makefile, add the -static option:
LDFLAGS = -static
(the debugging option -g is basically useless)
Original comment by ffum...@googlemail.com
on 2 Mar 2012 at 5:09
Original issue reported on code.google.com by
vmadhu...@gmail.com
on 20 May 2011 at 11:48