Building Single Tree for a Specific Set of CFLAGS

Joel Sherrill joel.sherrill@gmail.com
Tue Mar 26 21:52:28 GMT 2024


Hi

For RTEMS, we normally build a multilib'ed gcc+newlib, but I have a case
where the CPU model is something not covered by our multilibs and not one
we are keen to add. I've looked around but not found anything that makes me
feel confident.

What's the magic for building a gcc+newlib with a single set of libraries
that are built for a specific CPU CFLAGS?

I am trying --disable-multlibs on the gcc configure and adding
CFLAGS_FOR_TARGET to make.

Advice appreciated.

Thanks.

--joel


More information about the Gcc mailing list