IRC Logs for #crux Saturday, 2011-04-09

*** cruxbot has quit IRC00:23
*** cruxbot has joined #crux00:30
*** intok has quit IRC02:18
cruxbot[xorg.git/2.7]: mesa3d: updated to 7.10.2.03:16
cruxbot[xorg.git/2.7]: xorg-xrdb: updated to 1.0.9.03:16
*** DarkNekros_ is now known as DarkNekros03:40
*** mike_k has joined #crux04:26
*** SiFuh has quit IRC04:38
*** SiFuh has joined #crux04:41
*** Zaba has quit IRC04:49
*** Zaba has joined #crux04:57
*** sirmacik has joined #crux05:06
cruxbot[contrib.git/2.7]: xtables-geoip: 20110202 -> 2011040405:08
cruxbot[contrib.git/2.7]: xtables-addons: 1.33 -> 1.3405:08
cruxbot[contrib.git/2.7]: bftpd: 3.1 -> 3.205:08
*** Evil_Bob has joined #crux05:16
cruxbot[contrib.git/2.7]: libnetfilter_conntrack: 0.9.0 -> 0.9.105:33
cruxbot[contrib.git/2.7]: conntrack-tools: 0.9.15 -> 1.0.005:33
*** tilman has quit IRC05:59
*** tilman has joined #crux05:59
*** tilman has quit IRC06:03
*** tilman has joined #crux06:05
*** Evil_Bob has quit IRC06:19
*** tilman has quit IRC06:27
*** tilman has joined #crux06:28
*** lasso has joined #crux06:59
*** ulughbegh has joined #crux08:10
*** Evil_Bob has joined #crux08:12
*** nthwyatt has joined #crux08:30
*** aubic has quit IRC08:46
*** ulughbegh has quit IRC09:50
*** Rotwang has joined #crux09:52
*** ulughbegh has joined #crux09:58
*** ulughbegh has quit IRC10:09
*** ulughbegh has joined #crux10:21
*** ulughbegh has quit IRC10:24
*** ulughbegh has joined #crux10:28
Rotwangis there a way to define own basic data type?10:30
Rotwangin c10:30
teK_typedef?10:30
*** intok has joined #crux10:31
RotwangteK_: basic10:31
*** sirmacik has left #crux10:32
Rotwangafaik int is 2 byte10:32
Rotwangsay I want to create int which is 4 bytes long10:33
teK_everything except char is platform-dependent, I thought.10:33
RotwangI need to do that for basic IA-3210:33
teK_For example, even though most implementations of C and C++ on 32-bit systems define type int to be 4 bytes, it is recommended by many programmers to always use sizeof, as the size of an int could change when code is ported to a different system,10:34
teK_from wikipedia10:34
teK_you're advised to pickup some POSIX Standard and read there10:34
Rotwangyes yes10:34
RotwangteK_: I don't care at the moment10:34
RotwangIt is my homework10:35
Rotwangto do some floating point stuff without coprocessor10:35
Rotwangso I thought it would be possible with some asm and c to create very own basic datatype10:36
*** ulughbegh has quit IRC10:36
Rotwangwell, it for sure is possible, but I don't know how hard it is10:36
tilmansizeof(int) == 4 is the safest bet every (on your runofthemill desktop cpu)10:38
tilmans/every/every/10:38
tilmans/every/ever/10:38
tilmanffs10:38
Rotwangtilman: 4 byte int was just an example10:38
tilmanmaybe you could do:10:38
tilmanchar short_buf[sizeof(short)];10:38
tilmanasm("foobar", short_buf)10:39
tilmanie pass a pointer to your short_buf to the instruction you're executing10:39
Rotwangyeah, it is an option10:39
tilmani have very little experience with inline assembly though :)10:39
Rotwangit's going to be cool to fiddle with floating point numbers, yay \:D/10:40
tilman:)10:41
tilmanbbiab10:41
Rotwanghttp://www.urbandictionary.com/define.php?term=bbiab10:41
Rotwang#210:41
Rotwang[;10:41
thrice`:D10:42
Rotwangeven if I do as tilman proposed + - and other basic operators aren't going to work ;/10:48
frinnstfredrik@zoidberg:~$ wtf bbiab10:54
frinnstBBIAB: be back in a bit10:54
frinnstthough i like the second definition better :)10:55
tilmanRotwang: of course they won't work ;)11:04
tilmanRotwang: you could use C++ and overload +-*/ though11:05
Rotwangsure, but I need to use c11:05
Rotwangit isn't important though, I just thought that it would be nice to have own basic data type in c11:06
tilmansure :)11:07
*** ulughbegh has joined #crux11:47
*** ulughbegh has quit IRC12:17
*** mike_k has quit IRC12:30
frinnsthttp://www.youtube.com/watch?v=FK_CKtYCRIc&feature=player_embedded12:37
Rotwanghhaha!12:50
Rotwanguber12:50
*** Rotwang has quit IRC13:00
*** ulughbegh has joined #crux15:56
*** ulughbegh has quit IRC16:28
*** ulughbegh has joined #crux16:36
*** conbot has joined #crux16:38
conbothi, when i tried booting from crux again, and it said FATAL: Kernel too old16:39
conbotanyone here?16:39
thrice`no, go away16:39
conbotreally?16:39
thrice`:o16:39
conbotseriously?16:39
conbot:(16:40
thrice`well, the last few times you've been in, you are quite rude and impatient16:40
conbotsorry16:41
conboti was in a hurry16:41
conboti promise that i will no longer be like that16:41
thrice`'kernel too old' sounds like you are using a very old kernel (too old for the toolchain, or glibc specifically) to be able to use16:42
conbot?16:42
thrice`which kernel are you trying to boot, and where did you get it from ?16:42
conbotI used the kernel that came with the iso16:42
conbotAs in, CRUX 2.716:43
thrice`hm, AFAIK that error isn't possible using that kernel + that toolchain16:43
conbotok16:44
thrice`glibc is compiled wiht 2.6.27 as the minimum kernel16:45
thrice`and 2.7 shipped with 2.6.35 or something16:45
conbotI compiled with Ubuntu 10.04, if that helps16:46
conbotlinux 2.6.35.616:47
conbotis the kernel i compiled16:47
conbotOh!16:47
conbotThe first time I booted, i used the vmlinuz from the usb i used16:48
conbotNow, I copied and renamed BzImage16:48
conbotDo you mind if I use the vmlinuz from the usb stick? I will be right back.16:50
frinnstwow16:51
conbotwhat/16:52
conbot?16:52
conbotAm I being rude and impatiant?16:52
frinnstwhy are you compiling the kernel in ubuntu? and good luck trying to just copy the iso-kernel and boot that16:52
conbotWhy not Ubuntu?16:52
frinnst*WHY*?16:53
frinnstyou have crux installed, no?16:53
conbotYes16:53
conbotnot the kernel16:53
frinnstso, use it to build the kernel16:53
frinnstboot from whatever media you used to install, chroot and build the kernel16:53
conbotI have tried that 3 times16:53
frinnstand read the docs16:53
conbotI have....... like 30 times16:53
frinnstso how can you fail?16:53
conbotI have no idea16:54
conbotI found that Ubuntu recognizes my HD as /dev/sda, and CRUX is /dev/hda16:54
thrice`everything should be sd* these days with libata16:55
conbotyep16:55
conbotdoes crux use that16:55
frinnstdepends on your kernel config16:55
frinnstyou tell it what to do, not the other way around16:55
frinnstoh forget it, i cant be bothered16:55
frinnstafk16:55
conbotI used menuconfig to compile the old ATA/PATA drivers, is that wrong?16:56
conbot:thrice16:58
conbotbrb in a minute16:59
*** conbot has quit IRC16:59
frinnsto m g17:00
frinnstwhat an ass17:00
entehm?17:07
*** Rotwang has joined #crux17:08
*** Evil_Bob has quit IRC17:24
*** Rotwang has quit IRC17:55
*** ulughbegh has quit IRC18:30
*** ulughbegh has joined #crux18:37
*** nthwyatt has quit IRC19:17
*** lasso has quit IRC19:43
*** ulughbegh has quit IRC20:48
*** ulughbegh has joined #crux20:54
*** Dudde has quit IRC21:25
*** Dudde has joined #crux21:27
Romsterconbut ubnutoo :P22:14
*** ulughbegh has quit IRC22:32

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