Re: why the asymmetry in VX_CRT{BEGIN,END}_SPEC?

2021-12-08 Thread Olivier Hainque via Gcc
Hi Rasmus, > On 7 Dec 2021, at 16:09, Rasmus Villemoes wrote: > > Hi Olivier > > One thing I've been meaning to ask: Is there a reason VX_CRTBEGIN_SPEC > and VX_CRTEND_SPEC are given as > > #define VX_CRTBEGIN_SPEC "vx_crtbegin.o%s" > #define VX_CRTEND_SPEC "-l:vx_crtend.o" > > so for vx_crtb

why the asymmetry in VX_CRT{BEGIN,END}_SPEC?

2021-12-07 Thread Rasmus Villemoes
Hi Olivier One thing I've been meaning to ask: Is there a reason VX_CRTBEGIN_SPEC and VX_CRTEND_SPEC are given as #define VX_CRTBEGIN_SPEC "vx_crtbegin.o%s" #define VX_CRTEND_SPEC "-l:vx_crtend.o" so for vx_crtbegin.o, it is gcc itself which expands the full path to the vx_crtbegin.o file, while