Re: Building Single Tree for a Specific Set of CFLAGS

2024-03-28 Thread Christophe Lyon via Gcc
On 3/27/24 20:07, Joel Sherrill wrote: On Wed, Mar 27, 2024 at 3:53 AM Christophe Lyon via Gcc > wrote: Hi! On 3/26/24 22:52, Joel Sherrill via Gcc wrote: > Hi > > For RTEMS, we normally build a multilib'ed gcc+newlib, but I have a case

Re: Building Single Tree for a Specific Set of CFLAGS

2024-03-27 Thread Joel Sherrill
On Wed, Mar 27, 2024 at 3:53 AM Christophe Lyon via Gcc wrote: > Hi! > > On 3/26/24 22:52, Joel Sherrill via Gcc wrote: > > 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

Re: Building Single Tree for a Specific Set of CFLAGS

2024-03-27 Thread Kai Ruottu via Gcc
Christophe Lyon via Gcc kirjoitti 27.3.2024 klo 10.52: On 3/26/24 22:52, Joel Sherrill via Gcc wrote: I am trying --disable-multlibs on the gcc configure and adding CFLAGS_FOR_TARGET to make. I would configure GCC with --disable-multilibs --with-cpu=XXX --with-mode=XXX --with-float=XXX [maybe

Re: Building Single Tree for a Specific Set of CFLAGS

2024-03-27 Thread Christophe Lyon via Gcc
Hi! On 3/26/24 22:52, Joel Sherrill via Gcc wrote: 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. W

Building Single Tree for a Specific Set of CFLAGS

2024-03-26 Thread Joel Sherrill via Gcc
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 singl