bug-gnustep
[Top][All Lists]
Advanced

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

[bug #48348] gnustep-config doesn't do what I want


From: Stef
Subject: [bug #48348] gnustep-config doesn't do what I want
Date: Fri, 1 Jul 2016 16:16:55 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #2, bug #48348 (project gnustep):

While I see your point, that goes completely against established conventions
for *-config scripts.

I tested various config scripts (freetype-config, icu-config, xml2-config and
pkg-config, to name a few). The convention is that flags-type arguments output
-I and -D directives, and libs-type arguments output -L and -l directives.
This makes sense, because most folks just want to know where to find the
headers and library, and how to link to the library.

I think we should be able to do "$ gcc $OBJCFLAGS $LIBS `gnustep-config
--objc-flags --base-libs` main.m" to build a simple tool, just like I can do
"$ gcc $CFLAGS $LIBS `xml2-config --cflags --libs` main.c", without having the
output of gnustep-config interfere with $OBJCFLAGS and $LIBS already in place.
This is the simplest possible example I could come up with.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48348>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]