This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Problems compiling libstdc++-2.90.3 on Solaris 2.6



Dave:
I strongly urge you to use the CVS sources. We've been working on the
Solaris build/link problems, and the repository sources will get you much
further.

> but now I still can't build libstdc++.  I had to add -I/usr/include/g++ to
> the ./src/Makefile becuase it couldn't find libio.h.  This helped, but
> then failed with:

libio has been imported and the Makefile's tweaked.

> g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -nostdinc++ -I../.. -I../../stl
> -I/usr/local/include/g++ -fno-implicit-templates -D_GNU_SOURCE -g -c -fPIC
> -DPIC ../../src/os_raw.cc
> ../../src/os_raw.cc: In function `struct file_type * _S_os_open(const char
> *, enum _Ios_Openmode)':
> ../../src/os_raw.cc:80: type `file_type' is not a base type for type
> `FILE'
> ../../src/os_raw.cc: In function `int _S_os_close(struct file_type *)':

filebuf has been re-written, this file no longer exists.

-Benjamin



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