Please replace 'Linker.Default_Switches ("Ada")' with 'Linker.Linker_Options'. The gpr example is correct.