This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: f2c configure fix


  In message <19990204222706.A21615@twiddle.net>you write:
  > I don't recall noticing when it started, but libf2c's fragile
  > integer size detection widgetry has broken again.
  > 
  > This time it gets confused because f/proj.h includes system,
  > which includes system.h, which includes libiberty.h, which
  > includes ansidecl.h (the libiberty version), which defines
  > PROTO in a way that is incompatible with gcc's headers.  So
  > you wind up with lots of error messages from cpp.  Why libf2c
  > doesn't die in its configury here, I don't know.
  > 
  > But it winds up deciding that an int is a long, and on Alpha
  > things go downhill with that.
  > 
  > It appears one must get gansidecl.h to define PROTO properly,
  > which requires IN_GCC and tm.h.  
  > 
  > The following seems to work.  Kaveh, is this the best thing
  > to do to get what's needed?
I ran into this problem myself today.  I'm going to commit this along with
the "search the right subdirs" patch.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]