From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/370 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?THVrYSBNYXLEjWV0acSH?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: cluts makefiles Date: Tue, 09 Aug 2011 22:20:24 +0200 Message-ID: <4E419688.5030005@gmail.com> References: <20110809113045.GA12614@albatros> <4E4156DA.1060107@gmail.com> <20110809161142.GA2409@albatros> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312921369 9699 80.91.229.12 (9 Aug 2011 20:22:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2011 20:22:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-371-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 09 22:22:45 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 1Qqsp3-0004Da-Rg for gllmg-musl@lo.gmane.org; Tue, 09 Aug 2011 22:22:45 +0200 Original-Received: (qmail 11839 invoked by uid 550); 9 Aug 2011 20:22:45 -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 11829 invoked from network); 9 Aug 2011 20:22:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vBpd4pTdMMnqJEqffO9Y+4eDEKvCWLKI1tLDxACzNF8=; b=AcS+XBdOCG90/+qFioXqe2wYcMDfbQ29pP7JrNWy+5rvfZ+eIAkGRTFAF0/sCTRSrw /vqTDkHvUD1vMn1eaTcceqfkfYOtNf3gsjHwGqp/JMwVqRoftrBmTYJlcG6t3lMMeeCS enaRJIPQecc20IxtSatEdTIG/Q4JjeTZFidVc= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 In-Reply-To: <20110809161142.GA2409@albatros> Xref: news.gmane.org gmane.linux.lib.musl.general:370 Archived-At: On 08/09/2011 06:11 PM, Vasiliy Kulikov wrote: >> Hunk #1 FAILED at 7. >> 1 out of 1 hunk FAILED -- saving rejects to file a/Makefile.rej > You should use "-p1". With -p0 patch doesn't remove any prefix > directories and tries to change files b/defines.mk and similar. Where should this be run? I tried root where a/ and b/ are, and also in the b/ itself. In both cases, the same thing happens. Maybe it is me who messed up line 7 now, I don't know. :-/ >>> 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. Ideally, I'd use the standard make, but I'm a make noob, so I use the GNU one. However, I would deprecate a dependency on gcc - I want my C99 code to be compilable with any C99-compliant compiler. If you manage to remove the dependency on gcc (and instruct me how to apply the patch), I'll certainly prefer the right(tm) way to build things. >>> 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. Granted, I use kinda beta software (Debian Sid here), but I don't think that's it. Did you try the POSIX flag? Thanks again. Luka