5
votes
Vote UpVote

Delphi 2009 hidden compiler switch?

DelphiTools – This morning while debugging a statistical ichthyo-parser I stumbled upon what looked like a Delphi 2009 compiler bug: the compiler was outputting gibberish ASM opcodes… But after further investigations, it appeared this wasn’t completely gibberish, but that it was (somewhat) correct MSIL bytecode! What’s more, a quick hexadecimal examination of dcc32.exe yelded that this MSIL codegen looks like it can be forced by using an undocumented command-line compiler switch: -af The resulting exe won’t run because it’s a mismatch of Win32 headers and MSIL bytecode… ...
Favorite? Off-Topic? Eric @ 2009-04-01 11:46

Statistics

Visits: 40
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Craig Stuntz
Dennis G.
dwarfland
Tier777
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)