[webkit-dev] DerivedSources.make: Another try?

Patrick Gansterer paroga at paroga.com
Sun Mar 16 12:01:07 PDT 2014


On 16.03.2014, at 19:32, Darin Adler <darin at apple.com> wrote:
> On Mar 16, 2014, at 11:06 AM, Patrick Gansterer <paroga at paroga.com> wrote:
> 
>> DerivedSources.make depends heavily on UNIX command line tools (cat, sed, sort, …)
> 
> I’m not sure what heavily means here. This seems really easy to fix.

I agree that "heavily" might not be the optimal word. 

> It’s a 15 minute project for me to replace the 4 uses of cat, and the 2 uses of sed with perl. I’ll do that right now.
> 
> I don’t see any uses of the command line sort.

I did i quick scan of the Makefile, but the sort I found is a make function, sorry!

> What are the other command line tools?

rm does not exist on Windows and scripts can not uses shebang.

One additional point is the "preprocessor problem": Some scripts require a C preprocessor run to generate the correct output. CMake passes "cl.exe" to all scripts. See [1].


On 16.03.2014, at 19:53, Darin Adler <darin at apple.com> wrote:
> On Mar 16, 2014, at 11:53 AM, Darin Adler <darin at apple.com> wrote:
> 
>> On Mar 16, 2014, at 11:06 AM, Patrick Gansterer <paroga at paroga.com> wrote:
>> 
>>> At the moment the minimal requirements for building on Windows are GNU Win32 GPerf, Win flex-bision, Perl, Python and Ruby (which provide nice native Windows installers).
>> 
>> Any alternatives for getting good quality make installed like these other dependencies?
> 
> Wait, you didn’t list CMake itself. Is that really the whole list?

I listed only the "additional dependencies" beside CMake and Visual Studio. [2] is from the time where we did not require Ruby.

[1] http://trac.webkit.org/browser/trunk/Source/cmake/OptionsCommon.cmake?rev=165173#L12
[2] http://trac.webkit.org/wiki/WinCE#Build

--
Patrick


More information about the webkit-dev mailing list