[RFC] build system replacement

Bernhard Fischer rep.dot.nop at gmail.com
Tue Jun 3 14:45:45 UTC 2008


On Tue, Jun 03, 2008 at 04:27:41PM +0200, Denys Vlasenko wrote:
>On Tuesday 03 June 2008 15:18, Bernhard Fischer wrote:
>> On Tue, Jun 03, 2008 at 11:36:21AM +0200, Bernd Schmidt wrote:
>> > There appears to be one additional problem.  Sometimes I get the  
>> > following cycle:
>> >
>> > bernds at beaker /local/src/uclibc/bernds/uClibc $ make
>> > make[1]: `conf' is up to date.
>> >  STRIP -X --strip-debug -R .note -R .comment lib/libpthread.a
>> >   AR cr lib/libpthread.a
>> 
>> yea, that doesn't make sense to me. First create the archive,
>> then strip it.
>
>I don't think it will work. strip can't operate on .a files.

really?
$ for i in $(seq 1 3);do echo "int i$i=$i;" | gcc -g3 -xc -o foo$i.o -c -;done
$ ar cr bar.a foo?.o
$ ls -als bar.a
16 -rw-r--r-- 1 b b 12454 2008-06-03 16:43 bar.a
$ strip -x bar.a ; echo $?
0
$ ls -als bar.a
4 -rw-r--r-- 1 b b 2230 2008-06-03 16:43 bar.a

Sounds like a bit like it would work fine, no?



More information about the uClibc mailing list