Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo Nmap Development mailing list archives

Re: gcc-4 troubleshooting
From: Greg Darke <starstuff () optusnet com au>
Date: Sun, 28 Aug 2005 22:29:21 +1000

I found that the code will compile correctly with GCC 4, if you enable
the no-strict-aliasing option (because strict-aliasing is enabled with
level 2 or higher optimization).

The command I used to configure Nmap was:
./configure CFLAGS="-O2 -fno-strict-aliasing"

Is there a way that we can check for GCC 4 and then automatically use
the -fno-strict-aliasing option?

Greg Darke

On Sun, 2005-08-28 at 02:56 -0700, Fyodor wrote:
Thanks for helping.  If we get this resolved soon enough, I hope to do
an Nmap Birthday Release on Thursday (September 1).  My baby is
turning 8!

Cheers,
-F


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]