Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Aug 2011 20:11:42 +0400
From: Vasiliy Kulikov <>
Subject: Re: cluts makefiles

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 blank as a fallback and change target line



%.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/
> patching file b/tests/Makefile

You should use "-p1".  With -p0 patch doesn't remove any prefix
directories and tries to change files b/ and similar.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.