From: Tomislav Vujec Subject: Re: What have I done wrong with g++ To: pjbk AT cee DOT hw DOT ac DOT uk (Peter JB King) Date: Fri, 4 Aug 1995 10:01:58 +0200 (MET DST) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > > // failure of setw in the output stream > #include > #include > > main() > { > int j = 735; > cout << j << setw(4) < } > > > Output from > gcc -v fail.cc -o fail -lgpp > You should put -liostr in the command line. LIBGPP in GNU CC has to parts, one is libgpp.a, and the other one is libiostr.a, which contains i/o stream related objects and methods. Why separating? I think that libgpp is LGPL'ed, and libiostr is GPL'ed. Please, someone, correct me if I am wrong. Tomislav Vujec Croatia "640K ought to be enough for anybody" - Bill Gates 1981 -------------------------------------------------------------------- E-mail: tvujec AT fly DOT cc DOT fer DOT hr Tel: +385-(0)42-210-486 Adr: Tomislav Vujec Hercegovacka 15 42000 Varazdin Croatia