05:20:19 i was going to crosscompile pnet to my palmtop 05:20:22 forgot about that 05:20:29 if it works !!!! 05:20:39 embedded heaven ! 05:20:49 afterall rhys is a thin client guru 05:20:53 heh ......... 05:25:19 i'm just wrestling with configure and stuff atm 05:25:25 crosscompiling is a pain 05:25:26 oh the pnet stuff 05:25:28 yes it is 05:25:31 yeah 05:26:00 i got the wrong compiler and its trying to compile treecc with the arm version 05:26:31 arm ? 05:26:40 what are you using ? 05:26:43 yeah 05:27:03 the gcc arm port 05:28:34 ok ............................. 05:29:27 its choking on libffi 05:29:38 ./configure --without-libffi 05:29:47 you need libffi only for the PInvoke stuff 05:29:49 can i do that 05:29:58 hmm ok 05:30:01 ie dlopening .so files from C# 05:30:18 fragglet: try a profile option 05:30:31 profile? 05:30:43 profiles/README 05:31:05 if you want to go really tiny 05:31:13 oh 05:31:17 it sets a lot of the #ifdefs in the code 05:31:20 you can specify sizes 05:31:21 to reduce memory/code 05:31:21 thats neat 05:31:37 well i'll compile it with a standard compile to start off with 05:31:37 I told ya, rhys is a thin client guy ... 05:31:50 to check that all of the code compile properly for arm 05:31:59 libffi ? 05:32:08 and then i'll try a tiny compile and try running it 05:32:28 fragglet: the tiny compile has no FS support 05:32:37 heh well 05:32:37 and there is no tiny mscorlib.dll 05:32:41 something small then 05:33:00 you might need to write your mscorlib.dll 05:33:07 atleast a *small* implementation 05:33:10 i dont know if i'll have enough memory to even run this 05:33:22 under 10 Mb 05:33:28 with full mscorlib 05:33:41 which is a feat par excellance 05:33:44 /home/fraggle/pnet/pnet/engine/cvm_compare.c:74: relocation truncated to fit: R_ 05:33:50 ARM_PC24 isnan ................ 05:34:44 its the c library 05:34:48 i'm using an embedded c library 05:34:58 it does not have this facility ? 05:35:07 its cut down :) 05:35:25 error or warning ? 05:35:31 infact it probably has it and i just didnt compile it in 05:35:31 error 05:35:42 uclibc doesnt have the isnan function 05:35:52 ok #ifdef over 05:36:03 my version anyway 05:36:04 how can you check nan ? 05:36:21 * t3rmin4t0r thinks you can comment it safely ... 05:36:42 static inline int isnan(double a) 05:36:43 { 05:36:43 return 0; 05:36:43 } 05:36:47 theres a cheap hack fix 05:36:49 heheh 05:36:52 hehe ............... 05:42:01 ../ilasm/ilasm: ../ilasm/ilasm: cannot execute binary file 05:42:03 haha 05:42:16 why ? 05:42:30 looks like the build system could need some fixing 05:42:37 ilasm is an arm executable 05:42:42 i'm on an intel machine 05:42:46 hehe 05:43:10 well try default ilasm 05:43:27 no make tried to run it 05:43:45 well not much of a big deal 05:43:50 hmm can i make a small mscorlib.dll in cscc 05:43:56 yes almost 05:44:12 ask rhys for more details 05:47:48 -rwxr-xr-x 1 fraggle fraggle 229376 Mar 2 18:49 mscorlib.dll 05:47:24 fragglet: so you might be able to compile a *basic* mscorlib 05:47:28 and run helloworld 05:47:34 yeah maybe 05:48:05 and its not too big 05:48:06 too large ? 05:48:16 only 200k 05:48:45 so how much RAM does your system have 05:48:47 4 Mb ? 05:49:34 you need memory to work it on .. 05:49:48 er 05:49:50 its 8meg total 05:49:54 ok 05:50:11 thats including the kernel and the ramdisk with the root fs 05:50:22 ok, so you might have about 2 Mb free 05:50:40 try doing a memprof on pnet 05:50:45 with a helloworld ....................... 05:52:36 fragglet: ilrun runs on 10 kb stack,200 Kb heap for helloworld 05:52:43 oh wait 05:52:49 ilrun -S 10 -H 200 hello.exe 05:53:18 -rwxr-xr-x 1 fraggle fraggle 598264 Jul 5 01:26 ilrun 05:54:14 fragglet: try building with --profile=tiny .... 05:55:14 what 05:55:20 well recompile from start 05:55:25 make clean? 05:55:27 heh 05:55:28 the header files don't change well 05:55:34 with new ./configure 05:55:48 ./configure --with-profile=kernel 05:55:52 and try sizing it 05:55:55 if it doesnot work 05:55:58 try tiny 05:56:15 and mail rhys about issues in crosscompiling ................. 05:56:29 i have ilrun running 05:56:36 as in it shows the help text 05:56:36 in your PDA ? 05:56:41 yeah 05:56:44 ok !! 05:56:50 one sec i'll get a screenshot ............. 05:56:53 now to proceed to load a new mscorlib.dll 05:56:57 or write one 05:57:26 i'm not sure i need to 05:57:28 in C# or IL 05:57:38 if you don't have enough memory ie 05:58:32 and if it works 05:58:36 well .... !! ..................... 05:59:56 now to see if it runs helloworld 06:00:03 yeah **********************FRAGGLET TRIES HIS OWN MSCORLIB.DLL************ 06:01:22 hmm 06:01:24 awww 06:01:38 Fatal error: System.Security.VerificationException is missing from the system library 06:01:42 hehe 06:01:54 anyone have a recent corlib.dll 06:01:59 get it from CVS 06:02:12 rhys maintains updated versions in CVS 06:02:13 is there one in cvs 06:02:15 yes 06:02:25 oh samples/ 06:02:28 yeah 06:02:52 * fragglet downloads 06:03:13 its on a 115.2k serial lines heh 06:03:27 hehe 06:04:07 Out of Memory: killed process 546 (ilrun). 06:04:18 hehe 06:04:29 try working out a new mscorlib.dll 06:04:37 or try the -S -H options 06:04:50 or didja build with the full options ? 06:05:15 i just did a plain build 06:05:34 do a kernel build 06:05:44 this was bound to happen 06:05:47 with a normal build 06:06:06 if possible ask rhys on how to cut down mscorlib.dll 06:06:42 nice 06:06:52 i was thinking about working on that for a while 06:06:56 but never got round to it .............. 06:15:25 and be sure to drop a line if pnet works on the PDA 06:15:33 (or not works ... either way) 06:15:44 ok sure 06:15:50 so bye for now 06:15:55 bye