public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Prevent libintl in /usr/local to be used
@ 2008-05-29 10:40 FX
  2008-05-29 12:57 ` Brian Dessent
  0 siblings, 1 reply; 2+ messages in thread
From: FX @ 2008-05-29 10:40 UTC (permalink / raw)
  To: gcc-help

Hi all,

I have a build system (MacOS 10.5) that has libintl installed as
/usr/local/lib/libintl.3.dylib (and the headers in
/usr/local/include). Before that library was installed, my builds
worked fine (I suppose GCC built its own libintl, from the intl/
source directory). Now, it still builds fine, but the compiler then
depends on /usr/local/lib/libintl.3.dylib and other people who don't
have that local library can't use it.

As I'm not administrator on this machine, I'm wondering if there's a
way to prevent GCC to use that libintl. I've thought about using
--without-libintl-prefix, or --with-libintl-prefix=/I/do/not/exist,
but as build on that machine are slow, I'd rather have external
confirmation or advice before I proceed. So, how can I force GCC to
use its own libintl?

Thanks,
FX

-- 
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Prevent libintl in /usr/local to be used
  2008-05-29 10:40 Prevent libintl in /usr/local to be used FX
@ 2008-05-29 12:57 ` Brian Dessent
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dessent @ 2008-05-29 12:57 UTC (permalink / raw)
  To: FX; +Cc: gcc-help

FX wrote:

> As I'm not administrator on this machine, I'm wondering if there's a
> way to prevent GCC to use that libintl. I've thought about using
> --without-libintl-prefix, or --with-libintl-prefix=/I/do/not/exist,
> but as build on that machine are slow, I'd rather have external
> confirmation or advice before I proceed. So, how can I force GCC to
> use its own libintl?

I think what you're looking for is --with-included-gettext.

Brian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-29 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-29 10:40 Prevent libintl in /usr/local to be used FX
2008-05-29 12:57 ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).