Re: Compiling pkgconfig with arm-linux-gcc



Hello ,

 

I have a similar bargain, cross-compiling gtk+ for mips

and using framebuffer.

It still does not work , though.

 

> Betreff: Compiling pkgconfig with arm-linux-gcc

>

> Hi All,

>

> a)I tried to cofigure pkconfig with arm-linux-gcc but

> it is giving some problem.

> Can anyone tell me the command for configuring

> pkgconfig with arm-linux-gcc.

 

You don't have to cross-compile pkgconfig, but, and that is very important, you have to install a pkgconfig (which runs on the

build system ) for your cross

toolchain. Then, to make sure this pkgconfig is used, change your path variable so, that your toolchain pkgconfig is found only. And make symlinks to the .pc files  in the ...pkgconfig/toolchain/bin directory (the directory toolchain you have prepared in ./configure using --prefix=...whatever...pkgconfig/toolchain)

 

have a look at

 

http://www.mozilla.org/projects/minimo/build-cross.html

 

> b) same problem I am facing with glib also I type the following

> command to configure it:

>

> ./configure CC=/opt/gcc-3.4.0/bin/arm-linux-gcc

> cross_compiling=yes

> But it is giving the following error:

> unable to run the test program.

 

You should provide the option (see ./configure --help) --without-test or something like that. Surely test will not run on your development system.

 

Have a nice day

 

Albrecht

 

 

 

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]