> On 16 Oct 2016, at 21:40, Eric Botcazou <ebotca...@adacore.com> wrote: > >> Can this be refactored to avoid having to duplicate the whole file for >> every target? > > I'm not sure, maybe entries could be omitted if they match the default though.
Some files could be easily merged (like what was done for ppc and ppc-64). For example: $ diff system-linux-x86* 8c8 < -- (GNU-Linux/x86 Version) -- --- > -- (GNU-Linux/x86-64 Version) -- 72,73c72,73 < Word_Size : constant := 32; < Memory_Size : constant := 2 ** 32; --- > Word_Size : constant := Standard'Word_Size; > Memory_Size : constant := 2 ** Word_Size; Tristan.