[arm-gnu] RE: Stripped down application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] RE: Stripped down application
- To: "arm-gnu@xxxxxxxxxxxxxxxx" <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] RE: Stripped down application
- From: "Mattke, Thomas" <Thomas.Mattke@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2011 10:49:52 +0200
Hello Matt,
you can add the linker option -nostdlib and implement the needed functions (memset, ...) by yourself.
Regards
Thomas
-----Original Message-----
From: Matthew Gessner [mailto:mgessner@xxxxxxxxxxx]
Sent: Friday, June 10, 2011 7:36 PM
To: arm-gnu@xxxxxxxxxxxxxxxx
Subject: [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
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.