Date: Wed, 23 Jun 93 12:44:27 -0800 From: cs8023 AT mbox DOT ee DOT ncu DOT edu DOT tw To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: what's matter with IOSTREAM? Dear all DJGPPers: I downloaded the DJGPP 1.10 and test by a small iostream function: #include main() { cout << "Hello, world" ; } while I compiled it by `gcc hello.cc' ld said that it cannot found cout and stream& operator << ( stream&, char * ) ; so I compiled by `gcc hello.cc -lgpl' then nothing wrong. may I ask: C++ default library should automatically be searched by ld? I remembered DJGPP 1.09 need not to mention `-lgpl' or I put wrong environment? thanks for enlighten me. tony -- *> Anthony Lee | Lee3, Shih4 Hao2 *< <* Institute of CSEE, National Central Univ | ARPA:cs8023 AT mbox DOT ee DOT ncu DOT edu DOT tw >* *> Chungli, Taoyuan, Taiwan,# Free China | oper2 AT ncuee DOT ncu DOT edu DOT tw *< <* Republic of China (ROC) # Chinese Taipei| oper2 AT ncuee2 DOT ncu DOT edu DOT tw >*