From: Paolo M. <pao...@gm...> - 2008-05-11 08:18:56
|
Henry, I'm a litte confused. I have modified the while(TRUE) cycle you have pointed to me. But I have lose a lot of time because I cannot understand the following point. To recompile colinux I have to use - make colinux - make package The I move the *zip created in the dist directory, I unzip under Vista and I can run colinux. The problem is that the colinux-console-nt.exe that is contained in the package (the .zip file) does not output my log lines ! Yesterday to do the proofs I have copied directy the src/colinux/os/winnt/build/colinux-console-nt.exe and with this file I could see the new debug messages. ********************** My first question is : ********************** /home/paolo/0.7.2-fixed>ls -l $(find . -name "colinux-console-nt.exe") -rwxr-xr-x 1 root root 146365 2008-05-11 09:13 ./dist/dbg/colinux-console-nt.exe -rwxr-xr-x 1 root root 91648 2008-05-11 08:49 ./dist/norm/colinux-console-nt.exe lrwxrwxrwx 1 root root 69 2008-05-11 09:13 ./stable-colinux-20080118/src/colinux/os/winnt/ build/colinux-console-nt.exe -> .comake.build/colinux-console-nt.exe-ba3c03c231f0f6edd5aaef5da5917d6 c -rwxr-xr-x 1 paolo vboxusers 91648 2008-05-11 08:49 ./stable-colinux-20080118/src/colinux/os/winnt/ user/install/premaid/colinux-console-nt.exe ---------------------------------------------------------------------------------------------------- Under the dist directory I have created 2 dirs : norm and dbg. norm contains the unzip of the daemon.....zip dbg contains the unzip of daemon....dbg.zip As you can see there are 2 colinux-console-nt.exe with filesize 91648. I thought that these 2 files was the same. What I don't understand is that these 2 files are different ! This is shown by the following command : /home/paolo/0.7.2-fixed>diff dist/norm/colinux-console-nt.exe stable-colinux-20080118/src/colinux/os /winnt/build/colinux-console-nt.exe Binary files dist/norm/colinux-console-nt.exe and stable-colinux-20080118/src/colinux/os/winnt/build /colinux-console-nt.exe differ Now I know that I must use the src/colinux/os/winnt/build/colinux-console-nt.exe Why they are different ? If I don't understand this I loose a lot of time to do very simple proofs and I don't know well how I have to do. *********************** My second question is : *********************** I use the following line to run the colinux-debug-daemon: colinux-debug-daemon -d -p -s prints=0,misc=1,messages=0 With the src/colinux/os/winnt/build/colinux-console-nt.exe I can see my debug messages on the console Is it OK ? *********************** My last question is : *********************** To debug I have to use the daemon.zip or the daemon.dbg.zip ? What I have seen is that I can also use the daemon.zip. Is it correct ? PS: I will try your version .... |