Re: Problem compiling mod_perl 1.23 on Solaris 2.4
John D Groenveld wrote: -Xa is a Sun WorkShop Compiler C 4.2 option, -X[a|c|s|t] Specifies the degree of conformance to the ANSI C stan- dard. Specifies one of the following: a (ANSI) ANSI C plus KR C compatibility extensions, with semantic changes required by ANSI C. Where KR C and ANSI C specify different semantics for the same construct, the compiler will issue warnings about the conflict and use the ANSI C interpreta- tion. This is the default compiler mode. The machine I was building on was Solaris 2.4 with the Sun Compiler v3.0 in which the cc manpage says "-Xt" ('transition') is the default. I also have a Solaris 2.6 machine with the Sun Compiler v4.0 which says, like the snippet above, that "-Xa" is the default. Steve Hay
Re: Problem compiling mod_perl 1.23 on Solaris 2.4
-Xa is a Sun WorkShop Compiler C 4.2 option, -X[a|c|s|t] Specifies the degree of conformance to the ANSI C stan- dard. Specifies one of the following: a (ANSI) ANSI C plus KR C compatibility extensions, with semantic changes required by ANSI C. Where KR C and ANSI C specify different semantics for the same construct, the compiler will issue warnings about the conflict and use the ANSI C interpreta- tion. This is the default compiler mode. John [EMAIL PROTECTED]
Re: Problem compiling mod_perl 1.23 on Solaris 2.4
On Thu, 27 Apr 2000, Steve Hay wrote: Steve Hay wrote: I'm having a problem compiling mod_perl 1.23 (with Apache 1.3.12 / Perl 5.6.0) as a DSO using APXS on Solaris 2.4. In case anyone is interested... I've solved my own problem (just as well, really). If I re-compile everything with the -Xa compiler flag then it all works out fine. what does -Xa mean? gcc or ld flag? i don't see anything in the gcc manpage, 2.6 ld manpage says: Options No Longer Supported The following SunOS 4.x.y options do not have any replace- ment in this release: -B nosymbolic (this is now the default if -B symbolic is not used), -d, -dc, and -dp, (these are now the default; see -b above to override the default), -M, -S, -t, -x, -X, and -ysym. maybe that means -Xa is on by default in newer solaris?
Re: Problem compiling mod_perl 1.23 on Solaris 2.4
Steve Hay wrote: I'm having a problem compiling mod_perl 1.23 (with Apache 1.3.12 / Perl 5.6.0) as a DSO using APXS on Solaris 2.4. In case anyone is interested... I've solved my own problem (just as well, really). If I re-compile everything with the -Xa compiler flag then it all works out fine.
RE: Problem compiling mod_perl 1.23 on Solaris 2.4
Good For you buddie:) We know that you can do that... ;) bybye Nazareno Perl Programmer www.obsequie.com