Compiler/Linker Option

66 views
Skip to first unread message

Robert Abel

unread,
Jun 29, 2011, 3:45:22 AM6/29/11
to pkg-config-suppor...@googlegroups.com
Hi,

So I was using pkg-config just now and tried to compile a plain c file
(within a c++ project).

However, it won't work, since pkg-config does not include the needed
paths/libraries in the C compiler and linker sections, only in the C++
sections.

Maybe including in the pkg-config panel a dropbox to choose the desired
compiler/linker might be a solution to this problem?
However, the settings which pkg-config options are activated etc. would
have to change for each compiler/linker, so this might be more effort
and I'm not sure what this would imply for other toolchains that extend
eclipse.

Regards

Robert

Petri Tuononen

unread,
Jun 29, 2011, 5:06:39 AM6/29/11
to pkg-config-suppor...@googlegroups.com
Hi,

Thank you for the feedback.

I will take a look and fix this issue as soon as I can. I'll keep you
updated.

Petri

Petri Tuononen

unread,
Jun 29, 2011, 7:34:14 AM6/29/11
to pkg-config-suppor...@googlegroups.com
Fixed.

Now the options are added to both C and C++ compiler and linker if they
exist. Update to get the latest version.

BR,
Petri

On 06/29/2011 03:45 PM, Robert Abel wrote:

Robert Abel

unread,
Jun 30, 2011, 4:06:25 PM6/30/11
to pkg-config-suppor...@googlegroups.com
Hi,

Thanks for your quick fix. This works as expected :D

Regards,

Robert

Reply all
Reply to author
Forward
0 new messages