gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build a project with PC in Windows


From: Germán Arias
Subject: Re: Build a project with PC in Windows
Date: Tue, 25 Mar 2014 20:02:34 -0600
User-agent: GNUMail (Version 1.2.1)

On 2014-03-25 02:24:43 -0600 Richard Frith-Macdonald <address@hidden> wrote:

> 
> On 25 Mar 2014, at 07:19, Germán Arias <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]