Greetings,
Well with some help from Peter I have figured out what the problem was with my FPC build and Zip creation. There is a problem in some of the Makefiles. The 'PATHSEP' is getting set wrong in the Win32 invironment so it was using '/' instead of '\' for directory paths.
The following line
ifneq ($(findstring sh.exe,$(SHELL)),)
needs to be changed to
ifeq ($(findstring sh.exe,$(SHELL)),)
in the following Makefiles
Makefile
packages/extra/opengl/Makefile
packages/extra/fpgtk/Makefile
The rest of the Makefiles do not even contain this line so I am not sure why it is being used.
Once I changed those it would do cleans, builds, and zipinstall without any problems.
So if someone could fix those issues that would be great. :-)
