[cups.general] Cross compiling CUPS for ARM

Douglas Kosovic doug at uq.edu.au
Mon Apr 15 20:12:12 PDT 2013


Hi Kevin,

> PS: I just decompressed the package and configure with some
> parameters(CC=opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-gcc
> CXX=opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-g++
> LD=opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-ld
> RANLIB=opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-ranlib
> AR=opt/FriendlyARM/toolschain/4.4.3/bin/arm-linux-ar --target=arm-linux
> --host=arm-linux --build=i686-linux --prefix=/) and it succeed, but when
> I tried to make, it failed.

I suspect you need to change the path you supplied from:
   opt/FriendlyARM/toolschain/4.4.3/bin
to:
   /opt/FriendlyARM/toolschain/4.4.3/bin

The FriendlyARM forum might be better suited for cross compiling issues 
with CUPS, but some people on that forum have managed to cross compile 
earlier versions of CUPS, see:

   http://www.friendlyarm.net/forum/topic/2598

Once you've built cups-1.6.2, you may also need to build the 
cups-filters package which has the filters for linux, with cups 1.5.x 
and earlier, the cups-filters package isn't required.



Cheers,
Doug






More information about the cups mailing list