Hi Guillaume,

Am 28.02.2017 um 14:55 schrieb Guillaume Gardet:
> in cross-armv7hl-gcc6 package, we get all the cross build tools, but
> with the gcc version appended. So, we have
> armv7hl-suse-linux-gnueabi-gcc-6 instead of armv7hl-suse-linux-gnueabi-gcc.
> 
> This is a problem to build things such as u-boot or Linux kernel which
> just use a CROSS_COMPILE prefix for the GCC tools in their Makefiles.
> 
> Is there any update-alternatives mechanism or something?

The solution is to specify CROSS_COMPILE= for binutils and CC= for gcc.

Otherwise we couldn't install different gcc versions side-by-side.

Also I think the intention was to use cross-arm-gcc* for compiling
kernels etc., whereas cross-armv7hl-gcc* is using the same configuration
as native armv7hl gcc*. If you notice any problems with that, please
report them.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to