From: Vasiliy Kulikov <segoon@openwall.com>
To: musl@lists.openwall.com
Subject: Re: cluts makefiles
Date: Tue, 9 Aug 2011 20:11:42 +0400 [thread overview]
Message-ID: <20110809161142.GA2409@albatros> (raw)
In-Reply-To: <4E4156DA.1060107@gmail.com>
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
next prev parent reply other threads:[~2011-08-09 16:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 11:30 Vasiliy Kulikov
2011-08-09 15:48 ` Luka Marčetić
2011-08-09 16:11 ` Vasiliy Kulikov [this message]
2011-08-09 20:20 ` Luka Marčetić
2011-08-10 3:06 ` Solar Designer
2011-08-10 11:29 ` Luka Marčetić
2011-08-10 11:49 ` Solar Designer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110809161142.GA2409@albatros \
--to=segoon@openwall.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).