[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to build packages with a specific complier ?




Le 16/06/2016 à 16:39, Gianfranco Costamagna a écrit :
> Hi,
>
>
>> #           CC=gcc-6 \> #        CPP=cpp-6
>> #
>> # RICHARD, IS IT CORRECT ?
>
> nope :)
>
> anyway, I did
> create a chroot with the build dependencies
> check if the library was not installed (the one you didn't like)
> git clone
> dpkg-buildpackage &> ../log
>
> installed gcc-6 stuff
> your workaround in configure
> dpkg-buildpackage &> ../log2
>
> well, gcc-6 was detected, but not used during build
>
> so I did export CC=gcc-6 CPP=cpp-6
> dpkg-buildpackage &> ../log3
>
> here I can see that gcc-6 and gpp-6 are called in configure, build and test.
>
> Attached logs for the last try and the three log log2 and log3
>
> G.
Thanks to you Gianfranco, we now know that the issue is not at gcc level.


Reply to: