#qi-hardware IRC log for Saturday, 2013-01-05

kyakmirko: 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 strip08:10
kyaksstrip saves around 3.5% of image size12:47
kyakbut it is indeed pure evil12:48
whitequarkkyak: what does sstrip strip further?12:49
kyakwhitequark: 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
kyakbut i'm not quite sure what it does exactly.. but it definitely breaks some things ocasiaonally12:54
kyakfor example, the binary file might not be detected as such anymore12:54
kyaki think this was the case for qt4 linuxfb driver12:55
kyakhttps://dev.openwrt.org/browser/trunk/tools/sstrip/src/sstrip.c12:55
kyakyou may read the comments12:56
kyakthere are probably more comments than code :)12:56
kyakhm, i just noticed that part of the program is one huge line. Why is it coded like that?13:00
whitequarkkyak: because 13:10
whitequark*because C programmers want metaprogramming, but their language is too crippled to do it properly ;)13:10
whitequarkit basically duplicates the body for 32-bit and 64-bit ELFs13:11
kyakso it's a huge define..13:18
kyakit even has a name, X Macro13:20
kyakwpwrak: just wondering, when you start hacking and it involves both hardware and software, which one of them do you start with?18:33
wpwrakthat would depend on the dependencies. but usually the hardware is the first step.18:43
kyakbeer would be a step zero :)19:28
wpwrakheh, that's an idea :) tough wine (some hours earlier) tends to be more effective for hacking19:42
whitequarkwolfspraul: ping20:43
wolfspraulwhitequark: hi21:42
whitequarkwolfspraul: can I pm you?21:43
wolfspraulsure of course22:04
--- Sun Jan 6 201300:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!