[gentoo-user] Gcc complains about TLS and errno; I baffled

2006-11-16 Thread Kevin O'Gorman
I'm trying to compile a program that works on Solaris with gcc, but won't complile under Linux (either FC5 or Gentoo). It seems to be because writing int errno; works under Solaris gcc-3.4.3 (well, it passes the compiler anyway), but under Linux gcc-3.4.6 or -4.1.0 one has to #include

Re: [gentoo-user] Gcc complains about TLS and errno; I baffled

2006-11-16 Thread Alan McKinnon
On Thursday 16 November 2006 22:03, Kevin O'Gorman wrote: I'm trying to compile a program that works on Solaris with gcc, but won't complile under Linux (either FC5 or Gentoo). It seems to be because writing int errno; works under Solaris gcc-3.4.3 (well, it passes the compiler anyway),