Replacing glib-2.0.8 with glib-2.6.0



Hi,

I am using mono which depends on glib-2.0. I need to make some changes
to the gmem.c file for which I am compiled the 2.6.0 code. It has got
installed into /usr/local/bin, /usr/local/lib as glib-2.0. However
there is no libglib-2.0.a file that has got created. Due to which
whenever I link glib to my application using

$gcc –g –Wall I/usr/local/include/glib-2.0
I/usr/local/lib/glib-2.0/include –lglib-2.0 test.c –o test

, it links to the default libglib-2.0.a which is there in "/usr/lib/"

Do I need to remove the older glib-2.0 from my system and install the
newly compiled one? Why does the freshly compile code only create a
libglib-2.0.la and not ".a" file? Is it anything to do with the name
clash?

Thanks in advance,

- Piyush


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