Friday, 3 April 2020

Re: [gccsdk] Building GCC 8

On 31/03/2020 19:44, John Ballance wrote:

[snip]

>>> There was a minor matter at the end of the build.
>>>
>>> Autobuilder: Packaging source
>>> /home/djp/gccsdk/autobuilder/build-program: line 384: distclean:
>>> command not
>>> found
>>> /home/djp/gccsdk/autobuilder/build-program: line 384: clean: command not
>>> found
>>> Package gcc: ***Failure***
>>> Build for package "gcc" failed
>
>
> I  get the same. Still a bit rusty on exactly what is what, but in the
> gcc Makefile (in build/gcc8/gcc/gcc-8.2.0/cross-build)  I cannot see
> targets of distclean and clean .. all I see are do-distclean and do-clean ..
>
> Does this suggest a patch for the makefile to add distclean and clean
> that access these targets?

I think it's probably just a case of defining AB_DISTCLEAN in setvars
so that the correct targets are called. Something like:

AB_DISTCLEAN="$AB_MAKE do-distclean || $AB_MAKE do-clean"

Lee.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment