Robert May schrieb:
Reini Urban wrote:
Robert May schrieb:
Reini Urban wrote:
samples/standard_images.pl is either missing as file in CVS, or
wrongly in MANIFEST.
same for :
win32-gui-demos.pl
Win32-GUI-Constants/TODO
Win32-GUI-Constants/Changes
Win32-gui-demos.pl removed (will add again later, when finished)
Win32-GUI-Constants/TODO
Win32-GUI-Constants/Changes
Added.
Thanks. Builds now almost under cygwin.
1. samples/standard_images.pl is still in MANIFEST
Oops. My bad. I'll check in the missing file before the end of the
weekend.
thanks.
2. In Makefile for gnu make the "-" before cp didn't work for me to copy
the demos. So I changed that to
demos:
$(MKPATH) $(INST_DEMO)
$(CP) samples/*.pl $(INST_DEMO)
$(CP) samples/*.cur $(INST_DEMO)
$(CP) samples/*.bmp $(INST_DEMO)
$(CP) samples/*.ico $(INST_DEMO)
Otherwise the errorlevel is set:
cp samples/* blib/lib/Win32/GUI/demos
cp: omitting directory `samples/CVS'
make: [demos] Error 1 (ignored)
That look like it is expected to. The "-" before the cp results in the
"(ignored)" on the last line: cp is returning a non-zero exit status,
but make (which would normally abort when this happens), is ignoring it
and continuing.
I know that "-" should suppress the make errorlevel breakout. Hmm.
Something really weird.
The files should have all been copied correctly. I'll address a better
way of copying the demo files (similar to that done in the subdirs) in a
future release, but not immediately.
The changes you propose should not be necessary.
3. gnu make, make test, make install doesn't recurse into the subdirs
Win32-GUI-AxWindow, Win32-GUI-DIBitmap, Win32-GUI-Grid
That's by design. None of those 3 modules can be built (as far as I
know) with gcc, as they rely on one or other of the MFC or ATL
frameworks, which only come with MS compilers.
Ok, I'll port them then. Shouldn't be that hard to produce
import libs on the fly for those MS dll's.
Just the names will have to be redecorated. Some .def file munging.
http://cygwin.com/faq/faq_3.html#SEC103
--
Reini Urban