Hi,
I just configure with CFLAGS="-O0" and did make
and make install and it worked on my Mac running
10.4.11!
However we in the Apple user community are at the
mercy of Apple as to when Apple will update gcc
to 4.1.1 or later. I had pre-release version of
gcc-4.2.1 from Apple which didn't work on
compiling clamav on my Mac running 10.4.11. This
pre-release version of gcc-4.2.1 was for a
different project so I didn't think it would work
since it was partial release.
Frank
hey all,
just to chime in with GCC 4.0.1 compiler problems on Mac OS X 10.4.10Ê
Server.
it breaks with the same errors mentioned:
checking for a supported version of gcc... ok (4.0.1)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR28045... configure: error: your compiler hasÊ
gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/
bugzilla/show_bug.cgi?id=28045
but with Edwins mentioned parameter:
CFLAGS="-O0" it works
CFLAGS="-O1" or CFLAGS="-O2" it fails again.
is it safe to build it with CFLAGS="-O0" and to let it run onÊ
production servers?
i have to mention, that i'm no expert in using compiler options.
thx.
oliver
Am 18.12.2007 um 15:10 schrieb Trk Edwin:
Leonardo Rodrigues Magalhes wrote:
Compiling clamav-0.92 with an old gcc (gcc 3.2 in my Fedora 4 and
Fedora 5 machines) will make clamav behave strangely, slow ...Ê
disable
features ... or something like that ? Is it 'very bad' to compile
clamav-0.92 with gcc 3.2 ??
Please note that i'm NOT running in high loaded environments, so
missing some optimizations flags which would make clamav 0,05% faster
will certainly NOT be a problem to me.
Any compiler that passes the test in ./configure is ok (just to beÊ
clear,
you can use any compiler, not just gcc).
For gcc versions > 4.1.1, and < 4.0 are known to work.
So 3.2 is ok.
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://
wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html