public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
@ 1998-02-12 18:02 Johannes Behr
  1998-02-13 10:31 ` H.J. Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Behr @ 1998-02-12 18:02 UTC (permalink / raw)
  To: egcs

Hi,

I'm new to egcs and I'm actually not a 'compiler-hacker' (However I would
consider myself a quite experienced C/C++ programmer). I hop it's OK to ask some
'user' question.

I installed the 1.0.1 package on my Linux RH 4.2 system and compiled
some tiny test programs with success but if I try to compile my 'big' 
system, I get always the following error message in the in the lexer.cpp
file.

----------------------------------------------------------------------

lexer.Linux_ECC.o: In function `yy_get_next_buffer(void)':
/opt/src/avalon/lexer.cpp:3540: undefined reference to `_IO_getc'      

----------------------------------------------------------------------

lexer.cpp is a file created by flex (version 2.5.4)? Any Idea ?

But now my BIG PROBLEM: I use heavily STL and own template classes and my 
binary is right now 33 meg (on IRIX 6.2 even 54) with gnu 2.7.2. I _need_
some kind of 'template database'. I know, the native Solaris and IRIX
compiler have 'some kind' of template database but I would like to use
gcc or now egcs. Is there a 'template database' in egcs ?

One more general question: I have found some info about the differences of
egcs and 2.8.0 but is the a info-page about what's new in egcs or 2.8.0 
compared to 2.7.2 (beside the STL and ANSI C++ stuff)

Thanks for reading
  Johannes

-----------------------------------------------------------------
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}


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

* Re: egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
  1998-02-12 18:02 egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff Johannes Behr
@ 1998-02-13 10:31 ` H.J. Lu
  1998-02-13 10:34   ` HELP !!! " Johannes Behr
  0 siblings, 1 reply; 4+ messages in thread
From: H.J. Lu @ 1998-02-13 10:31 UTC (permalink / raw)
  To: Johannes Behr; +Cc: egcs

> 
> 
> Hi,
> 
> I'm new to egcs and I'm actually not a 'compiler-hacker' (However I would
> consider myself a quite experienced C/C++ programmer). I hop it's OK to ask some
> 'user' question.
> 
> I installed the 1.0.1 package on my Linux RH 4.2 system and compiled
> some tiny test programs with success but if I try to compile my 'big' 
> system, I get always the following error message in the in the lexer.cpp
> file.
> 
> ----------------------------------------------------------------------
> 
> lexer.Linux_ECC.o: In function `yy_get_next_buffer(void)':
> /opt/src/avalon/lexer.cpp:3540: undefined reference to `_IO_getc'      

Please get libc 5.4.44 or above.

H.J.

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

* HELP !!! Re: egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
  1998-02-13 10:31 ` H.J. Lu
@ 1998-02-13 10:34   ` Johannes Behr
  1998-02-13 10:58     ` H.J. Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Behr @ 1998-02-13 10:34 UTC (permalink / raw)
  To: H.J. Lu; +Cc: egcs

Hi,

> > I'm new to egcs and I'm actually not a 'compiler-hacker' (However I would
> > consider myself a quite experienced C/C++ programmer). I hop it's OK to ask some
> > 'user' question.
> > 
> > I installed the 1.0.1 package on my Linux RH 4.2 system and compiled
> > some tiny test programs with success but if I try to compile my 'big' 
> > system, I get always the following error message in the in the lexer.cpp
> > file.
> > 
> > ----------------------------------------------------------------------
> > 
> > lexer.Linux_ECC.o: In function `yy_get_next_buffer(void)':
> > /opt/src/avalon/lexer.cpp:3540: undefined reference to `_IO_getc'      
> 
> Please get libc 5.4.44 or above.

OK, I got it but now I can't login as normal yp user anymore !!! 

PLEASE, Do I need to do something extre to my passwd file ?!?

IT'S MY DEVELOPING MACHINE. COULD PLEASE SOMEONE GIVE ME A HINT

Thanks
  Johannes


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

* Re: HELP !!! Re: egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
  1998-02-13 10:34   ` HELP !!! " Johannes Behr
@ 1998-02-13 10:58     ` H.J. Lu
  0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu @ 1998-02-13 10:58 UTC (permalink / raw)
  To: Johannes Behr; +Cc: egcs

> > Please get libc 5.4.44 or above.
> 
> OK, I got it but now I can't login as normal yp user anymore !!! 
> 
> PLEASE, Do I need to do something extre to my passwd file ?!?
> 
> IT'S MY DEVELOPING MACHINE. COULD PLEASE SOMEONE GIVE ME A HINT
> 

The pre-compiled binary for 5.4.44 has no NYS. You
need to compile NYS yourself.


-- 
H.J. Lu (hjl@gnu.org)

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

end of thread, other threads:[~1998-02-13 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-12 18:02 egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff Johannes Behr
1998-02-13 10:31 ` H.J. Lu
1998-02-13 10:34   ` HELP !!! " Johannes Behr
1998-02-13 10:58     ` H.J. Lu

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).