Re: Switching compiler between glib and an application/library



On Fri, 15 Jan 1999 fpetitje@bureauveritas.com wrote:
>   If we buil/install glib (1.1.12) with a compiler (say gcc) some
> particularities specific to the compiler are recorded in glibconfig.h file
> (which is included by glib.h). As a consequence, it is (right now) not
> possible to use another compiler to build an application which uses glib.
> It is really a big constraint.
>   I may have an application without configure/autoconf setup and only a
> Makefile and sources targeted to a native C compiler for example; the make
> will fail if glib was built with gcc.

You need to install glib in a separate prefix for each compiler you use.

	Jeff







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