[Mingw-msys] [mingw - MSYS] RE: Missing lib command
- Date: Fri, 17 Aug 2007 20:37:14 +0200 (CEST)
- From: "Ulf Nyman" <ulf.nyman@xxxxxx>
- Subject: [Mingw-msys] Slow start of make in MinGW/MSYS?
Hello!
I have found that the make (GNU Make version 3.79.1, have try other version)
is very slow in the start of building a source.
It can take up to 20 sec to start the buildings!
(normally on my computer 8sec, outer in the project have longer start time!)
We run all same VMWare image of Windows XP
Same code in a Linux enviorement (same GNU make version) start building
directly!
Have try to localize the time out, and found that must be the start of
make itself.
(Have made a sh script that print a time stamp and then start the make)
====
#!/bin/sh
# Scriptname: run_make
echo 'Start Time:"' `date` '"' ;
make all $1
====
In the Makefile (first row) have I add following
TIME1 = $(shell echo 'Time1="' `date` '"')
The all target call the start target and more like
all: start lib ... etc
in the start target I have
start:
@echo "Time == $(TIME1)" ;
@echo 'Time2="' `date` '"' ;
When i run the run_make script I get following result in MinGW/MSYS
===
./run_make
Start Time:" Fri Aug 17 14:39:52 WEST 2007 "
Time == Time1= Fri Aug 17 14:39:59 WEST 2007
Time2=" Fri Aug 17 14:39:59 WEST 2007 "
===
In Linux
===
./run_make
Start Time:" Fri Aug 17 14:41:59 WEST 2007 "
Time == Time1= Fri Aug 17 14:41:59 WEST 2007
Time2=" Fri Aug 17 14:41:59 WEST 2007 "
===
With thes result I think the problem is start of the make itself in
MinGW/MSYS.
Have some one else found simiar problems?
Some tip to solve this (spped up the make)
Best regards
tew
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys