Re: Compiling pkgconfig with arm-linux-gcc



Hello prakhar,

On Tue, Aug 09, 2005 at 10:10:35AM +0100, prakhar vig wrote:
> 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 need to type some command!

But seriously, you'd have more chances to get help if you write at least
the command you typed and the error message you saw.


> 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.

I think configure tries to run the program compiled for the target in
order to determine some property of the target. Look into config.log; if
this is the case, find out what configure is looking for and follow
instructions in
http://developer.gnome.org/doc/API/2.0/glib/glib-cross-compiling.html to
set that parameter.

I used the following settings in arm-linux.cache:

glib_cv_stack_grows=no
glib_cv_rtldglobal_broken=no
glib_cv_uscore=no
ac_cv_func_posix_getpwuid_r=yes

After creating the file, I started ./configure --host=arm-linux
--cache-file=arm-linux.cache


With kind regards,
Baurzhan.



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