Re: Compiling pkgconfig with arm-linux-gcc
- From: Olexiy Avramchenko <olexiy ctech cn ua>
- To: prakhar vig <aquarian_133 yahoo co in>
- Cc: gtk-list gnome org
- Subject: Re: Compiling pkgconfig with arm-linux-gcc
- Date: Wed, 10 Aug 2005 09:57:29 +0300
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]