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

Missing libraries?



   Can someone here fill me in on how to use GCC (and specifically g++) with
AIX?

   I have installed GCC under AIX 4.2.1.   It seems to compile C++ programs
correctly.
But, it fails to link a significant number of library functions.   These
seem to be mostly
functions from AIX's "threadsafe" library. (e.g. functions like rand_r).   I
*am*, however,
able to link rand_r, from a "C" version of the same test program, using
"gcc" instead of
"g++".

   Do these functions exist in GNU's C++ libraries, somewhere?   Or, do I
have to continue
using the IBM version?

Thanks,
Mark Ford


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