Re: Compiling pkgconfig with arm-linux-gcc



Hello Olexiy,

On Wed, Aug 10, 2005 at 09:57:29AM +0300, Olexiy Avramchenko wrote:
> 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.

AFAICU, I need to tell pkg-config where my headers and libraries are.
Should it Just Work (tm) if I manually supply a *.pc file pointing to
/usr/arm-linux/{include,lib}?


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

In which case configure says:

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.

I've always ignored this message but still wonder what it means. Should
one really use CC=?!!


With kind regards,
Baurzhan.



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