[arm-gnu] Stripped down application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] Stripped down application



I'm building a boot loader for AM35xx, similar to the x-loader that TI provides, but with some extra functionality.

I've gotten it to build with CCSv4, but there are issues that have caused us to look at the CodeSourcery G++ Lite package.
I don't really need anything in the standard C library except for things like memset, memcpy, malloc (maybe), and a few others.
I tried building a very small linker script with just a few sections and ld complained about not having _sbrk.  Also, the startup
code that's in the crtbegin is a problem for me -- I do not want to have that startup code.  I have my own.  I'm not using
an operating system, either.

Also, I notice that the standard library contains lots of functions that I may never need, and they'll need to be stripped from
the output if they're not called, because of DO-178B.
Has anyone done anything with similar requirements that would be willing to share what they've done?
I've only got a few days to evaluate this tool.

Thanks & regards,

Matt Gessner