flat assembler
Message board for the users of flat assembler.
Index
> Windows > Cross compiling and testing windows apps in Linux |
Author |
|
revolution 24 Aug 2009, 00:01
Are you asking to use a Windows linker and a Windows OS to test your exe, but without using a Windows VM or WINE?
You haven't really given yourself many other options. I guess the only other option would be to run Windows for real on another machine. |
|||
24 Aug 2009, 00:01 |
|
Fanael 24 Aug 2009, 00:02
Build binutils for target i686-pc-cygwin, then you'll obtain version of ld (called i686-pc-cygwin-ld), which generates PE instead of ELF. Of course, wine will be still needed to run the generated .exe file.
|
|||
24 Aug 2009, 00:02 |
|
LocoDelAssembly 24 Aug 2009, 00:20
Do you have a real need for a linker? fasm can generate a PE file straight. For instance, all the examples in the fasm Windows package will produce an executable from Linux using fasm alone (with the exception of the MSCOFF example).
|
|||
24 Aug 2009, 00:20 |
|
Thaorius 24 Aug 2009, 00:38
@LocoDelAssembly: Yeah, I sadly need a linker, I have to link with some object code I have no sources for and as I understood it, FASM won't do the linker's job in such cases. (A proposito: Buenos Aires?).
@Fanael: I'll check it out in a minute, sounds viable. @revolution: Ideally, yes, but I see I probably have not much of a choice but to use WINE, since otherwise I would need to sacrifice one of my systems and install windows in it. Speaking of WINE, how accurately is it emulating windows? I mean, I have to load a DLL inside a running, 3rd party process, as this program needs to monitor certain calls made by this program, and I'm not sure I'll be able to run the program in question in WINE or that WINE will let me inject the DLL as I would in a real Win32 system (I would love to tell you what the program is, but I have a signed NDA, can't say much :S) Thanks for the help. |
|||
24 Aug 2009, 00:38 |
|
LocoDelAssembly 24 Aug 2009, 01:07
Quote:
I would go for a real Windows, inside a virtual machine if you have to. Using WINE to test if it will work on a real Win32 is too risky considering the kind of task you want to perform. |
|||
24 Aug 2009, 01:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.