| kyak | mirko: fyi, the problem with qt4 and linuxfb i mentioned a while ago (http://en.qi-hardware.com/irclogs/qi-hardware_2012-04-19.log.html#t15:47) was because i used sstrip instead of strip | 08:10 |
|---|---|---|
| kyak | sstrip saves around 3.5% of image size | 12:47 |
| kyak | but it is indeed pure evil | 12:48 |
| whitequark | kyak: what does sstrip strip further? | 12:49 |
| kyak | whitequark: as the description says, "removes the contents at the end of an ELF file that are not part of the program's memory image." | 12:54 |
| kyak | but i'm not quite sure what it does exactly.. but it definitely breaks some things ocasiaonally | 12:54 |
| kyak | for example, the binary file might not be detected as such anymore | 12:54 |
| kyak | i think this was the case for qt4 linuxfb driver | 12:55 |
| kyak | https://dev.openwrt.org/browser/trunk/tools/sstrip/src/sstrip.c | 12:55 |
| kyak | you may read the comments | 12:56 |
| kyak | there are probably more comments than code :) | 12:56 |
| kyak | hm, i just noticed that part of the program is one huge line. Why is it coded like that? | 13:00 |
| whitequark | kyak: because | 13:10 |
| whitequark | *because C programmers want metaprogramming, but their language is too crippled to do it properly ;) | 13:10 |
| whitequark | it basically duplicates the body for 32-bit and 64-bit ELFs | 13:11 |
| kyak | so it's a huge define.. | 13:18 |
| kyak | it even has a name, X Macro | 13:20 |
| kyak | wpwrak: just wondering, when you start hacking and it involves both hardware and software, which one of them do you start with? | 18:33 |
| wpwrak | that would depend on the dependencies. but usually the hardware is the first step. | 18:43 |
| kyak | beer would be a step zero :) | 19:28 |
| wpwrak | heh, that's an idea :) tough wine (some hours earlier) tends to be more effective for hacking | 19:42 |
| whitequark | wolfspraul: ping | 20:43 |
| wolfspraul | whitequark: hi | 21:42 |
| whitequark | wolfspraul: can I pm you? | 21:43 |
| wolfspraul | sure of course | 22:04 |
| --- Sun Jan 6 2013 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!