CatButts | I am ever-so-slightly closer to getting my messy crosscompiler to work | 00:15 |
---|---|---|
CatButts | so, #include <gtk/gtk.h> doesn't come through | 00:16 |
CatButts | but it exists in includes/gtk-2.0/gtk.h | 00:17 |
CatButts | so this means I have to reach out to it with compiler option -IPATH/TO/GTKHEADERS | 00:18 |
CatButts | probably with -I=/........ | 00:18 |
CatButts | the tricky bit is the = | 00:19 |
CatButts | with works as expected with some gcc kits, fails with others | 00:19 |
CatButts | #include <gtk-2.0/gtk/gtk.h> is out of the question, as the other gtk headers will fail | 00:21 |
CatButts | eh, I will figure it out eventually | 00:28 |
CatButts | errrrrrrrrrr | 00:29 |
CatButts | *but it exists in includes/gtk-2.0/gtk/gtk.h | 00:30 |
*** t3st3r has quit IRC | 00:43 | |
*** t3st3r has joined #maemo | 00:44 | |
*** Vajb has quit IRC | 00:48 | |
CatButts | hildon is the N900's default UI, yes? | 00:51 |
CatButts | is it safe to assume that if I can see hildon, X server is running? | 00:51 |
CatButts | I want to try out XCB | 00:52 |
Maxdamantus | Yes, hildon runs on X. | 00:52 |
CatButts | aha, thanks | 00:53 |
Maxdamantus | afaik, everything from the "three dots" in Maemo is running in X. | 00:53 |
Maxdamantus | can't remember if the nokia hands are before or after the dots (I disabled them), but that will be in X too. | 00:54 |
CatButts | the three dots being? | 00:54 |
Maxdamantus | At some stage during booting, there should be an animation involving three dots in the middle of the screen. | 00:55 |
CatButts | ah, 4 or 5 dots | 00:55 |
Maxdamantus | Screen is black, but three large white dots flick on/off or something. | 00:55 |
Maxdamantus | yeah, maybe 4 or 5, can't remember. | 00:55 |
CatButts | textured dots where light moves to next one and wraps to first | 00:56 |
sixwheeledbeast | ~boot-process | 01:01 |
infobot | i heard boot-process is http://wiki.maemo.org/Maemo_5_boot_process | 01:01 |
CatButts | `ELF | 01:03 |
CatButts | ~elf | 01:04 |
infobot | methinks elf is the Executable and Linking Format .. it is a Binary format used by System V Release 4 Unix. It is also the prefered binary format in Linux. or the little people. There are three kind of elven: Noldor, Sindar and Wood elven | 01:04 |
CatButts | in context of compiling software, an elf .so can be both linked against dynamically, or statically brought into the program, yes? | 01:04 |
CatButts | so, in windows terms, a windows .dll and a compiler lib | 01:06 |
Maxdamantus | ".so" specifically means "shared object", so it's only meant to be used for dynamic linking. | 01:16 |
Maxdamantus | libraries that are meant to be statically linked normally end in ".o", and they're usually packaged in some archive file that end in ".a" | 01:17 |
Maxdamantus | I think Windows has that distinction too, where static libraries are ".lib" or something. | 01:20 |
CatButts | aha, so, .so don't double as "dlls" and libs | 01:21 |
Maxdamantus | They are libs, but they're meant to be linked dynamically, not statically. | 01:21 |
CatButts | so, just the dll part | 01:22 |
Maxdamantus | Sure, where "dll" afaik stands for "dynamically linked library" | 01:23 |
* Maxdamantus doesn't know too much about Windows usage nowadays. | 01:24 | |
CatButts | I'm kinda drunk, I should continue tomorrow | 01:24 |
sixwheeledbeast | comparing linux and windows like that is difficult as they do that stuff completely differently. | 01:44 |
*** esaym153 has joined #maemo | 01:45 | |
sixwheeledbeast | Package management and dependencies mean the concept of a DLL isn't a thing. | 01:52 |
CatButts | what's package management? | 01:53 |
* CatButts loads everything relative to current directory | 01:53 | |
CatButts | *relative to application's executing directory | 01:54 |
CatButts | that's win9x mentality | 01:55 |
CatButts | hue | 01:55 |
CatButts | with advent of NT, you gots things like "documents and settings" per-user profile folder doohickey thing | 01:56 |
CatButts | or whatever they decided to rename it to vista+ | 01:56 |
CatButts | and now, "program files" folder is read-only(you can write with special privileges) | 01:57 |
CatButts | as if to discourage the win9x mentality | 01:57 |
CatButts | loads-a-bollocks, if ya ask me | 01:59 |
CatButts | linux mentality resembles NT one, I suppose, but is waaay more compartimentalized | 02:04 |
*** xmn has quit IRC | 02:04 | |
CatButts | "this part of the application goes into bin X, this one in bin Y, and this in Z" | 02:05 |
*** t3st3r has quit IRC | 02:05 | |
CatButts | the config, the main application, and whatever .so it may depend on | 02:06 |
*** t3st3r has joined #maemo | 02:06 | |
CatButts | in NT, the separation is partial, with each application(say if built with Qt) having duplicates of same dlls in each appfolder | 02:07 |
CatButts | but settings get put in dedicated place | 02:07 |
CatButts | I am alligned to win9x mentality, where app and its folder of gubbins are self-sufficient | 02:08 |
Maxdamantus | Kind of like gobolinux afaik. | 02:13 |
*** florian has quit IRC | 02:52 | |
*** Pali has quit IRC | 03:32 | |
*** tm has quit IRC | 06:29 | |
*** tm has joined #maemo | 06:33 | |
*** DocScrutinizer05 has quit IRC | 07:06 | |
*** DocScrutinizer05 has joined #maemo | 07:06 | |
*** Kilroo has quit IRC | 07:28 | |
luke-jr | sixwheeledbeast: lolwut no | 07:30 |
luke-jr | .so = .dll | 07:30 |
*** povbot has joined #maemo | 07:32 | |
*** drathir_tor has quit IRC | 10:52 | |
*** florian has joined #maemo | 11:07 | |
*** florian has quit IRC | 11:12 | |
*** florian has joined #maemo | 11:40 | |
*** drathir_tor has joined #maemo | 11:44 | |
*** florian has quit IRC | 11:55 | |
sixwheeledbeast | oh? seems i misunderstand then? | 12:34 |
*** Pali has joined #maemo | 12:42 | |
*** florian has joined #maemo | 13:05 | |
*** florian has quit IRC | 13:10 | |
*** Vajb has joined #maemo | 13:14 | |
*** florian has joined #maemo | 13:24 | |
*** florian has quit IRC | 13:29 | |
sicelo | CatButts: actually the windows and linux way here are mostly the same. you just 'notice' the .so situation on linux because most of the dlls on windows are part of the base system (shipped by MS). but they're there, and equally important | 13:46 |
sicelo | "this part of the application goes into bin X, this one in bin Y, and this in Z" - this also happens on windows too. hence when you uninstall an application that installed extra dlls, it typically notifies you if it seems those dlls are used by other applications as well | 13:48 |
*** florian has joined #maemo | 15:32 | |
*** inky has quit IRC | 16:03 | |
*** peetah has quit IRC | 16:54 | |
*** peetah has joined #maemo | 17:01 | |
*** drathir_tor has quit IRC | 17:01 | |
*** drathir_tor has joined #maemo | 17:18 | |
*** inky has joined #maemo | 17:45 | |
sicelo | please help me with building kernel for N900. it seems to all be going well, until i get this, https://paste.debian.net/1176726/ | 17:57 |
bencoh | eww | 18:07 |
bencoh | is that leste or maemo5/KP kernel? | 18:07 |
sicelo | mainline :) | 18:09 |
bencoh | old toochain maybe? | 18:09 |
bencoh | toolchain/compiler | 18:10 |
bencoh | s/old/broken/ even | 18:10 |
sicelo | i would like to think the compiler is fine. most likely i have bad kernel config and/or sources, since i might have been merging stuff wrong :p | 18:18 |
sicelo | let me try this first, https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2349834.html | 18:19 |
sicelo | if that doesn't work, guess i need to try a simple config first | 18:20 |
sicelo | nice. looks like there was no conclusion there. will go with Dmitry's workaround, although it seems to not have been the best option | 18:25 |
sicelo | ah, looks like final and accepted solution was https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9030/1 . but seems https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9018/2 works too, and since i'm lazy and just want/need something booting, i'll go with the latter for now | 18:31 |
sicelo | CC arch/arm/boot/compressed/decompress.o | 18:35 |
sicelo | wrong paste | 18:35 |
sicelo | anyway, seems a kernel built | 18:36 |
bencoh | did it break recently? | 18:38 |
bencoh | oh and ... is leste kernel thumb2 as well? | 18:39 |
sicelo | yes, it's thumb2. | 18:43 |
sicelo | leste has kernel 5.1 for N900 yet. however, i know fmg built 5.9 very recently and didn't get the issue. no idea what the differences are | 18:44 |
bencoh | that's the question I was about to ask ;) | 18:44 |
sicelo | unfortunately i'm a out of my depth with this stuff - guess i must still learn how cherry-picking works. i'm totally confused about the kernel branches i'm tracking :p | 18:47 |
CatButts | How do I deal with recursive dependencies in GCC in automagic fashion? | 19:11 |
CatButts | for example, for a gtk hello world, I start with -lgtk-x11-2.0 -lglib-2.0 | 19:12 |
CatButts | but then those depend on other libs, which depend on other libs, which... and so on | 19:12 |
CatButts | I found | 19:12 |
CatButts | -Wl,--start-group -lfirst -lsecond -Wl,--end-group | 19:13 |
CatButts | but I don't think it does what I expect it to | 19:13 |
CatButts | attempt to do this manually is nothing short of insanity | 19:13 |
*** auenf has quit IRC | 19:15 | |
*** auenfx8 has joined #maemo | 19:15 | |
sicelo | mmm, so u-boot finds the kernel i built, but nothing happens after i see "starting kernel". after some time, maybe 1 min, device turns off. | 20:21 |
* CatButts barfs on the carpet | 20:40 | |
*** drathir_tor has quit IRC | 20:46 | |
*** drathir_tor has joined #maemo | 20:46 | |
*** inky has quit IRC | 21:54 | |
*** inky has joined #maemo | 22:30 | |
*** drathir_tor has quit IRC | 22:49 | |
*** drathir_tor has joined #maemo | 22:50 | |
*** pagurus has joined #maemo | 23:40 | |
*** Vajb has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!