This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
- To: egcs at cygnus dot com
- Subject: egcs and flex source/ template database/ 2.7.2 -> 2.8/ecgs stuff
- From: Johannes Behr <jbehr at igd dot fhg dot de>
- Date: Thu, 12 Feb 1998 23:11:56 +0100 (MET)
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;}