Mailing List Archive

Support open source code!


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

Re: tlug: how to teach gcc to find its own header file.



On Fri, 27 Mar 1998, Kei Furuuchi wrote:

> Hi,
> I remember there was a talk about gimp before so I would like to ask
> this:
> 
> when I tried to compile the current gimp distribution, it failed because
> 
> somehow in the process it reports that G_MAXINT was not defined.
> 
> G_MAXINT is MAX_INT which is defined in glib.h and MAX_INT is
> numerically defined in limits.h  But, in limits.h in /usr/include the
> definition
> is skipped when you are using gcc version 2 or more.
> But my gcc failed to find its own limits.h in gcc-lib/*/*/*/include.
> Otherwise it compiled fine since I manupilated limits.h in /usr/include.
> 
> But it is not right way.
> 
> So I would like to ask why it seems to have faiiled to find its own
> header file
> and how to teach it to find a file.

What version of libc are you using?  GIMP seems to need the 5.4.x or glibc
headers, and getting it to compile WITHOUT glibc can be a couple hours
worth of pain-in-the-butt, as I recall.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


---------------------------------------------------------------
Next TLUG Meeting: 11 April Sat, Tokyo Station Yaesu gate 12:30
Featuring Tague Griffith of Netscape i18n talking on source code
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links