Jon, Gnu ld has the option -nostartfiles to stop it from including startup files so you can have your own startup sequence. Next you'll need a really small C library. Forget about uclibc. I've compiled the small C library from MSPGCC (for TI's msp430) for ARM. This should get you executables with a reasonable size.
Nico Coesel -----Oorspronkelijk bericht----- Van: openocd-development-boun...@lists.berlios.de namens Jon Smirl Verzonden: do 10/8/09 23:33 Aan: openocd-development@lists.berlios.de Onderwerp: [Openocd-development] Cross compiler for ARM7 bare metal Can someone help me out and point me to a working cross toolchain for arm7tdmi with uclibc or equivalent on Linux? I've got a working glib setup but it keeps linking in 900KB of run-time code. I've spent all day searching and playing with buildroot and I can't achieve a working environment. -- Jon Smirl jonsm...@gmail.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development