[pkg-fso-maint] debian: setting up cross compiling?

arne anka openmoko at ginguppin.de
Tue Dec 9 09:16:34 UTC 2008

> Debian itself is mostly not cross-compilable. I think you want to have a
> look at emdebian[1] – it’s an effort to make Debian cross-compilable and
> better suitable for embedded devices, e.g. by making smaller packages.
> I’d be very interested to hear how that goes.

i got emdebian in my sources.list already, and evrything with armel  
missing are, though, libraries like X.

at a first step, i changed the LDFLAGS to use the libs created by the  
mokomakefile -- installing the toolchain-deb would be preferable, but it's  
for 32bit only -- i use 64.
since none of the binaries is to be run on my desktop (everything required  
to comes from emdebian), i think installing would be harmless -- but so  
far i am unsure, how to proceed: forcing installation or converting the  
package to say "amd64".

next step was to handle links.
/home/..../libFoo.so.0 as such was found, but any libBar.so.0 required by  
libFoo was a link to libBar.so.0.0.0 -- and those links where not resolved.
using -Xlinker -rpath-link in LDFLAGS seemed to help -- at least rosetta  
compiled as arm binary.

but at that point i had it compiled and packaged on the fr itself, so i  
did not check how the cross compiled one works ...


More information about the pkg-fso-maint mailing list