Re: Compiling pkgconfig with arm-linux-gcc

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

 



prakhar vig wrote:
Hi All,

As I am building gtk package, i downloaded all the
dependencies and needful things. But facing some
prombles:

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.
Are you sure that you need cross-compiled pkg-config ? You probably dont want to have any devel on your target arm system, so where's the point to have pkg-config for arm-linux? You need it on your instrumental box - take it from devel package from your distro.

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.

Please tell me what to do,if anyone knew something
abt.  it.
The common way and good starting point is to use and tweak config.cache file, where you need to provide right options manually (use config.cache built on host as a template). Try google - there're some tips about cross-compiling GTK...

By the way, the *right* thing to do when cross-compiling smth is to read "configure --help" first - most packages now want '--host' parameter ('--host=arm-linux-gcc' in your case, probably) to configure and redefining CC is a *very bad* idea...

	Olexiy
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux