Is there any chance to have it working with all debug symbols? That way it will be easier to use the Visual Debugger with GHC compiled code.
Cheers, Krasimir On 12/10/06, Peter Tanski <[EMAIL PROTECTED]> wrote:
I thought you might like to know that after the Yasm developer, Peter Johnson, added support for complex relocations and a little testing, Yasm now works for Win32 (and, presumably Win64 but I am not able to test that far). To try it yourself, grab the latest development snapshot, 'yasm-r1705.exe' or later from http://cvs.tortall.net/ projects/yasm/snapshots/r1705/ . There is one caveat: the Yasm-output object file with complex relocations results in extra symbols that cause the Windows loader to choke. You need to strip all symbols ('ld -s ...') after assembling the object file. Here is an example session: (in MSYS): > ghc -pgma "yasm-r1705" -opta "-a x86" -opta "-p gas" -opta "-f win32" -optl-s hello.hs -o hello --yasm will complain that it does not recognise the "-c" option; this is an artifact in GHC > hello yasm works! Notes: architecture: -a x86 (i386) parser: -g gas obj format: -f win32 (win32-COFF) Next on the list is to get GHC to build using Yasm and test it... Cheers, Pete _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc