----- Original Message ----- From: "chm" <[email protected]>
To: <[email protected]>
Cc: "Sisyphus" <[email protected]>
Sent: Saturday, September 03, 2011 2:14 AM
Subject: win32 PDL build idea


win32/cygwin/gcc users-

Now that cygwin no-longer support the -mno-cygwin
option for gcc and one must use a mingw-gcc in a
cross-compiler mode, I've been meaning to update
my notes for how to build a non-cygwin dependent
binary from cygwin again.

You can still build with -mno-cygwin if you install gcc-3. But you're
essentially right; gcc-4 doesn't have the -mno-cygwin option (and you really
don't want to revert to using gcc-3).
I don't know how you now build for native win32 under Cygwin. I would think
that, once you get the right compiler and the right mantra, it can be done
fairly simply and reliably.

It just occurred to me that the same thing might
make it possible to build a win32 PDL (32bit- and
64bit-).

Lots of hoops through which to jump if you're thinking of using a *cygwin* perl to build a win32 PDL. Perhaps not so many hoops if you're thinking of using a *win32* perl with cygwin's mingw compiler.

 If that were the case, it might simplify
collecting the external dependencies and building
them.  We could use the cygwin (unix/linix like)
tool chain to get the needed sources or binaries
with the result being a stand-alone PDL for windows.

I don't think the cygwin binaries for these external dependencies would be of much use - but you could use the cygwin tool chain to get the sources .... assuming, of course, that the sources it grabs are suitable for windows (and haven't been patched so as to be usable only under Cygwin).

I don't immediately see a lot to be gained here, but I could be missing something of course.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to