From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/367 Path: news.gmane.org!not-for-mail From: Vasiliy Kulikov Newsgroups: gmane.linux.lib.musl.general Subject: Re: cluts makefiles Date: Tue, 9 Aug 2011 20:11:42 +0400 Message-ID: <20110809161142.GA2409@albatros> References: <20110809113045.GA12614@albatros> <4E4156DA.1060107@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1312906326 8105 80.91.229.12 (9 Aug 2011 16:12:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 16:12:06 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-368-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 09 18:12:02 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QqouP-00022h-42 for gllmg-musl@lo.gmane.org; Tue, 09 Aug 2011 18:12:01 +0200 Original-Received: (qmail 13743 invoked by uid 550); 9 Aug 2011 16:12:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 13733 invoked from network); 9 Aug 2011 16:12:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=TMat5aFDhSc4x+QyV/FJz59oRUsUXIpAK0pAn975jvo=; b=SW0yx3IB36wOwS4o3+ddmmJ55QLmH1r70THgI5dGNIcdx3IB46iiOK3CeX4eap++M2 D2p7OcfDrCHdxyFDrm1bXNYp5IvmlQi1eGqv5aJk879Xl4o0/iVu+pgZVX+Mi644P5FR NZrBE8HbW4GZfDhpu6DiQ3XkVFRk4UgJMQ2wI= Original-Sender: Vasiliy Kulikov Content-Disposition: inline In-Reply-To: <4E4156DA.1060107@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Xref: news.gmane.org gmane.linux.lib.musl.general:367 Archived-At: On Tue, Aug 09, 2011 at 17:48 +0200, Luka Marčetić wrote: > On 08/09/2011 01:30 PM, Vasiliy Kulikov wrote: > >2) Used gcc's ability to identify dependencies. > > Do others free compilers support nr 2? Hmm, not sure. I think it is gcc specific thing. Then you could use it if there is gcc installed (just installed, CC can be arbitrary compiler) and leave deps.mk blank as a fallback and change target line from %.o: to %.o: %.c Or you could precompile these files with gcc and distribute them as is without gcc dependency. > >b) SA_NODEFER is undefined in all .c. > > It should be defined in signal.h. Alexander had problems with this. The target system is Ubuntu 10.04, glibc-2.10-1, gcc 4.4.3-4ubuntu5. > >diff --git a/Makefile b/Makefile > > Having made dirs a and b (both from the same repo dir), I tried > `patch -p0 < yourpatch`, and got: > > Hunk #1 FAILED at 7. > 1 out of 1 hunk FAILED -- saving rejects to file a/Makefile.rej > patching file b/defines.mk > patching file b/tests/Makefile You should use "-p1". With -p0 patch doesn't remove any prefix directories and tries to change files b/defines.mk and similar. -- Vasiliy