http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60174

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #14)
> > Unfortunately that's always telling me
> > 
> > error: "gnat1drv.adb" must be recompiled ("system.ads" has been modified)
> > error: "s-stalib.adb" must be recompiled ("system.ads" has been modified)
> > error: "a-except.adb" must be recompiled ("system.ads" has been modified)
> 
> I don't see how this can happen if you strictly follow the guidelines (when
> I write "compile", I mean issue the command line just below).

Then I cannot reproduce it, but I have to alter the commandline as

/abuild/rguenther/trunk-g> ./gcc/xgcc -Bgcc -S cc3305a.adb -O2 
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned

thus I add -I gcc/

> ./gcc/xgcc -Bgcc -S cc3305a.adb -O2  -I gcc/
cc3305a.adb:74:11: run-time library configuration error
cc3305a.adb:74:11: file s-soflin.ads not found
cc3305a.adb:74:11: entity "System.Soft_Links.Abort_Undefer" not available
compilation abandoned

at which point I need to add -I gcc/ada/rts but then the testcase works.

/abuild/rguenther/trunk-g> ./gcc/xgcc -Bgcc -S cc3305a.adb -O2  -I gcc/ -I
gcc/ada/rts
/abuild/rguenther/trunk-g>

Reply via email to