> Dnia poniedziałek, 13 września 2010 o 22:11:24 Jim Heck napisał(a):
>
> > I am building the gcc-4.4 unmodified from unstable with the following
> > command line
>
> > PF=/opt/ilomtools/crosscompiler/gcc-4.4__100910/arm
> > DEB_BUILD_OPTIONS=static DEB_CROSS_NO_BIARCH=yes GCC_TARGET=armel
> > DEB_CROSS=yes dpkg-buildpackage -us -uc -rfakeroot
>
>
>
Just for reference to the list, the problem turned out to be of my own
making.  The error is that the PF= prefix cannot have a leading '/', since
this results in a redundancy in the makefiles that causes grief for
dh_link.  Instead, if using the PF environment variable to control the
location of the resulting toolchain, leave off that leading '/', it is
implied (the resulting toolchain will still be absolute based off /$PF and
defaults to /usr).

I should have known, since the PF prefix patch was mine in the first place
:-)

So my working command line is

PF=opt/ilomtools/crosscompiler/gcc-4.4__100910/arm DEB_BUILD_OPTIONS=static
GCC_TARGET=armel DEB_CROSS=yes dpkg-buildpackage -us -uc -rfakeroot

As pointed out by Marcin, the DEB_CROSS is probably redundant and the target
could be set using echo.

Best Regards,

-Jim Heck

Reply via email to