Status of pkg-config support for RTEMS BSPs

Wendell Silva silvawp at gmail.com
Thu Mar 1 23:07:24 CST 2012


Oops! Now that I've carefully read the comment in the .pc file, I just
realized that pkg-config is experimental.

(LOL).

--Wendell.

2012/3/2 Wendell Silva <silvawp at gmail.com>

> Hello,
>
> After installing RTEMS 4.10.2 for pc386, on CentOS 6.2, and properly
> configured PKG_CONFIG_PATH, I noticed that
>
>    pkg-config --libs i386-rtems4.10-pc386
>
> returns  null, but -lrtemscpu, -lrtemsbsp, -lsapi was expected.
>
> I'm just wondering about the status of pkg-config support for RTEMS.
>
> Is it supposed to be OK, or it is a working in progress? Or what am I
> getting wrong!
>
> [content of my bsp-install/lib/pkg-config/i386-rtems-4.10-pc386.pc file]
>
> #
> # pkg-config support file for RTEMS BSP pc386
> #
> # Warning: This stuff is experimental and may be changed at any time.
> #
> prefix=/home/developer/bsp-install
> exec_prefix=/home/developer/bsp-install/i386-rtems4.10
> libdir=${exec_prefix}/pc386/lib
> includedir=${exec_prefix}/pc386/lib/include
>
> CFLAGS=-mtune=i386 -O2 -g -Wall -Wimplicit-function-declaration
> -Wstrict-prototypes -Wnested-externs
> RTEMS_BSP=pc386
>
> Name: i386-rtems4.10-pc386
> Version: 4.10.2
> Description: RTEMS BSP pc386
> Libs:
> Cflags: -qrtems -B${exec_prefix}/lib/ -B${libdir}/ --specs bsp_specs
> ${CFLAGS}
>
>
> -- Wendell
>



-- 
Att.
Wendell P. Silva
+55 12 8114-8018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rtems.org/pipermail/rtems-users/attachments/20120302/a2bd38f9/attachment.html>


More information about the rtems-users mailing list