I'm trying to use gcc for an embedded system (no OS, or maybe a simple RTOS). Possibly I don't even want to use newlib or glibc, but that's a new question I think. I make one step at a time Robert On Mon, Nov 23, 2009 at 11:44 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > F. Fennek wrote: > >> I am trying to build a cross compiler for a cortex M3 ARM target on a >> Linux host. >> And I have a rather basic question. >> If I google on ARM toolchain I find a lot of help BUT most toolchain >> builders are scripts and most of them use patches of some sort. >> The scripts (or work flow) are mostly explained rather good but where >> the used patches come from are never explained. >> So my question is: >> Do I need patches to build an ARM cross compiler when I use the GCC source code? > > It depends on your target OS. When I build a ARM Linux cross-compiler, I use > unpatched gcc sources. > > Andrew. >