Re: Debian crosscompiler packages
On Sun, Jan 20, 2002 at 01:55:45AM +0000, Dr. David Alan Gilbert wrote:
>
> > - Change crossbase in /etc/dpkg/cross-compile from /usr/local to /usr. Why
> > is this defaulting to /usr/local? Don't we want cross-compilers in /usr?
>
> Well I suppose it depends how you chop your disc up, personally I put
> /usr and / on the same partition and made them fairly small and made
> /usr/local and /discs/cross - but its just a matter of taste I guess.
OK, the fs standrad we use dosn't mention it then?
>
> > - Patch dh_shlibdeps not to pass files to dpkg-shlibsgen that were not in
> > the native format (included below). dpkg-cross contains some replacement
> > dpkg-shlibsgen that I think should be used instead. Anyone know how to
> > thatone not to deafult back to dpkg-shlibsgen.orig? Will it work in this
> > kind of mixed environ where we have some native binaries and some corss
> > libraries?
>
> Hmm that didn't work for me - I get complaints at the end of the build
> complaing from dh_strip about an unkown output file format.
Yes, so did I, but the build process continues and ignores the errors and
procudec a compiler without sripping the libs. But this should also be fixed
so that we get them stripped.
> (I did the shlibdeps change after using dpkg-cross and after building
> binutils but before building gcc).
>
> Dave
>
> P.S. Here is a script I wrote to get the libc6 and libc6-dev packages
> for dpkg-cross - there must be an easier way?
The cool solution here I suppose would be to patch apt-get so that
"apt-get --cross-arch m68k libc6-dev" installed crossversions of the lib and
all it's dependecies.
--
Hakan Ardo <hakan@debian.org>, http://master.debian.org/~hakan/
Reply to: