On 2014-03-25 02:24:43 -0600 Richard Frith-Macdonald 
<richardfrithmacdon...@gmail.com> wrote:

> 
> On 25 Mar 2014, at 07:19, Germán Arias <germanandre...@gmail.com> wrote:
[...]
> 
> I would have thought you should be using NSTask to launch/run make (though as 
> long as the arguments are correct CreateProcessW should get you the same 
> effect).
> 
> I expect that if you have any name containing whitespace it's quite likely to 
> mess up makefiles (all it takes is for one place in the makefiles to fail to 
> quote the whitespace properly), so you might want to look into that.
> 
> However, it does sound like a possible characterset issue ... since make will 
> be from unix source, it probably expects utf-8 values passed to it.
> CreateProcessW on the other hand uses UTF16 (and that's what NSTask will be 
> passing to it).
> I would *expect* the mingw implementation of make to translate the UTF16 to 
> UTF8 ... but perhaps it's not (or not always) doing that?
> 

Just to confirm I tried with CreateProcess(), but the same error. OK, now using 
the info at image, this mean the error occurs after print "Making all for app 
Test...", but before print " Creating Test.app/....". So I run "make -n" to see 
what happen, and I get (only copy the relevant lines):

    GNUSTEP_BUILD_DIR="${abs_build_dir}" \
    _GNUSTEP_MAKE_PARALLEL=no)
Making all for app Test...
(cd .; \
        /usr/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj/Test.obj/)
(echo " Creating 
Test.app/....";/usr/GNUstep/System/Library/Makefiles/mkinstalldirs Test.app/.)
(make -f GNUmakefile --no-print-directory --no-keep-going \
        internal-app-compile \
        GNUSTEP_TYPE=app \
        GNUSTEP_INSTANCE=Test \

Could be the problem at script mkinstalldirs? But why works fine when execute 
"make" at shell?

Germán.


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to