2013/3/5 Fanael Linithien <fanael4@xxxxxxxxx>: > Even if not for the errors, I'd still like to know how can I e.g. build > libgcc with -Os, but other libraries (especially libstdc++) with -O2. You can use HOST_LIBGCC2_CFLAGS in the target makefile fragments. (i.e. libgcc/config/TARGET/t-xxxx ) Best regards, jasonwucj