This is the mail archive of the gcc@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]

complex data type under egcs/g++




Hello folks!

  I am a newcome about the gnu CC/egcs environment, and I'd like to know 
how to compile a C++ source code that has a #include<complex.h> line in 
it.  My aim is to get compiled some arithmetic with complex numbers (like z =
complex(1.,2.); ), but just the comand line "g++ mytestcode.cpp" seems not
enough to compile it (I suspect that I am missing some key).

  The egcs version I am using is the 1.1, and the operational system is a
Slackware linux.

   Thank you for any help,

  Renato Biral ( biral@ifi.unicamp.br , or 
biral@einstein.physics.utah.edu )



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