2009/3/4 michael <[email protected]>:
>
> Hello,
>
> r...@trantor mod_wsgi-2.3 $ /usr/bin/apxs -q CFLAGS
> -xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -
> DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4
>
> I have also the gcc 3.4.3 in my path
> r...@trantor mod_wsgi-2.3 $ gcc -v
> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
> Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/
> configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --
> with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c+
> +,f77,objc --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-20050802)
>
> r...@trantor mod_wsgi-2.3 $ /usr/bin/apxs -q CC
> /opt/SUNWspro/bin/cc
>
> The apache ist installed by the packageing-system. It is my first
> apache_module, that I will build... Can I overwrite the CC and CFLAGS-
> variables in the make-file? Then I can use the gnu compiler.

If you truly don't have /opt/SUNWspro/bin/cc available, it isn't as
simple as changing stuff in mod_wsgi Makefile. This is because all the
compiler information specific to Sun C compiler is defined within apxs
configuration.

I have had to do it before, so can work, but necessary to copy apxs
script as well as the directory where its configuration is. Then
modify your apxs copy to point at your copy of the configuration. Then
hack on the copy of the configuration to change it to use gcc and
replace any Sun C specific compiler options with gcc equivalents.

I have to run out the door right now, but when get a chance I'll try
and explain the actual changes you need to make.

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to