Mailinglist Archive: opensuse (1596 mails)

< Previous Next >
Re: [opensuse] where to place the library glib
  • From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
  • Date: Fri, 30 Oct 2009 17:53:05 -0300
  • Message-id: <4AEB5231.5000703@xxxxxxxxxxxx>
On 30/10/09 17:13, Philipp Thomas wrote:

While "-Wall -O2 -D_FORTIFY_SOURCE=2" isn't strictly necessary, I'd
strongly adise to *always* use at least -Wall and -D_FORTIFY_SOURCE=2
. And please read the pkg-config man page!


I suggest to use this:

gcc -Wall $(rpm --eval %optflags) $(pkg-config --cflags glib-2.0)
miRTA_MEM-main.c $(pkg-config --libs glib-2.0) -o miRTA_MEM
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >