[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [RFC][patch] slight generic size reduction
From:       Bernhard Fischer <rep.nop () aon ! at>
Date:       2006-03-31 6:48:10
Message-ID: 20060331064810.GX5394 () aon ! at
[Download RAW message or body]

On Thu, Mar 30, 2006 at 04:20:49PM -0500, Rob Landley wrote:
>On Thursday 30 March 2006 6:13 am, Bernhard Fischer wrote:
>> Hi,
>>
>> Do we want that one? It saves 114 bytes "for free"..
>
>What does this actually do?
>
>> -cmd_ar             = $(AR) $(ARFLAGS) $@ $^
>> +cmd_ar             = $(AR) $(ARFLAGS) $@ $(shell ls -r -S $^)

It sorts the .o by size, in ascending order.

Didn't look closely, but to me it sounds like trying to optimize the
layout in via ar would be a more generic approach. The above would be ok
for the time being..
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic