Bug#604937: gcc-4.4 (cross): build dependencies: gcc-4.4-source (needed?)
Hello,
2010/11/26 Matthias Klose <doko@debian.org>:
> On 25.11.2010 17:06, Hector Oron wrote:
>> Cross building gcc-4.4, it depends on -source packages:
>> dpkg-checkbuilddeps: Unmet build dependencies: gcc-4.4-source (>= 4.4.5)
>> gcc-4.4-source (<< 4.4.6)
>>
>> Those dependencies are not needed for cross builds, extra space is taken
>> in
>> the build host which is not needed and for slow connections, it takes a
>> while
>> to get the extra packages, could those be disabled?
>
> No. It appears that you include the source tarball in your cross source
> package itself, which IMO is not necessary.
>
I do not have a cross source package, just a script which installs
cross dependencies using dpkg-cross, then crossbuild binutils using:
TARGET=<debian_arch> fakeroot debian/rules binary-cross
(which breaks on experimental) and else has to be run.
and then cross build gcc using:
GCC_TARGET=${ARCH} DEB_CROSS=yes fakeroot debian/rules control
DEB_CROSS_NO_BIARCH=yes \
GCC_TARGET=${ARCH} DEB_CROSS=yes dpkg-buildpackage -us -uc -rfakeroot
as described in the documentation.
Best regards,
--
Héctor Orón
"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."
-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
Reply to: