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]

Re: GCC-3.0 that works on Solaris 2.6 and 7?


On Aug  2, 2001, Russ Rew <russ@unidata.ucar.edu> wrote:

> But on a Solaris 2.7 system when I try to compile

>  #include <iostream>
>  int main() { cout << "hello, world\n"; }

> with the resulting g++, I get:

>   $ g++ -o hw hw.cc
>   In file included from /usr/local/gnu/include/g++-v3/sparc-sun-solaris2.6/bits/gthr-default.h:37,

You can't use GCC built on Solaris 2.6 on Solaris 7.  The fixed
headers are inappropriate for a different OS version.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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