On 02/07/12 20:17, Keith Marshall wrote:
> On 02/07/12 17:37, Earnie Boyd wrote:
>>> And a bit of a surprise too, because it worked for 0.43 (I only had to
>>> trim the .exe extension, and even that wasn't necessary to make pexports
>>> run on linux). Was I just lucky ?
>> Probably nothing specific to Windows API was used on the 0.43 version,
>> so yes just lucky.
> And, I guess, nothing in 0.44 either, because I've been using it for
> some time, built as a native ELF binary on 32-bit LinuxMint-10; IIRC, it
> built OOTB.
Okay, I still had my build tree on hand; comparing it to the original
source tarball, I see that I did correct one (IMO heinous) Microsoft
diff -r e23c48204865 pexports.h
--- a/pexports.h Mon Jul 02 20:43:20 2012 +0100
+++ b/pexports.h Mon Jul 02 20:53:38 2012 +0100
@@ -26,7 +26,7 @@
typedef unsigned char BYTE;
typedef void* PVOID;
typedef long LONG;
-typedef unsigned __int64 ULONGLONG;
+typedef unsigned long long ULONGLONG;
typedef int BOOL;
typedef void* HMODULE;
> I don't recall having to trim off any .exe extension, but my working
> binary doesn't have one.
However, building it again, I see that I must have removed it.