[SLUG] questions about strip

2004-09-13 Thread Well
Hi All If I have 2 object file, one is API library , another is executable object. The executable object makes reference to the libray. Now I want to downsize the 2 objects. I can strip the executable object directly, but how to strip the API library when it's areference ofthe executable

[SLUG] How to disable printf...

2003-10-20 Thread well
Hi All Sorry, thisquestion doesn't belong to technical questions. I want to disable all debug message and all debug function link to printf. It should be able to disable it with one line define like: #define printf (%#$%#$%#) -- I don't remember Can somebody help me to complete the

[SLUG] help needed on gcc compiler

2003-10-14 Thread well
Hi All I'm working on downsizing a huge object code. It's compiled by gcc and linked by ld. For downsizing it, I remove "-g" to remove debug message. That's really helpful and the code size is smaller but not enough. I read gcc manual but it doesn't sayif parameter will increase object

[SLUG] what's different between far pointer and near pointer

2002-11-14 Thread well
Hello everyone I am not familiar with low level programming, I find some driver function's pointer argument is called far pointer, and others is called near pointer. I just know this is about different memory section form web Can someone tell me more... Thanks. W.K

[SLUG] buffer become bigger and biger

2002-08-13 Thread well
Hi everyone Everytime I check my RH 7.3 system memory status by "top" or "free" , buffer size increase 8k. Is this a bug of kernel? or why buffer size changes? Any response is appreciate. Will Lin

[SLUG] check system changing problem

2002-08-13 Thread well
Hi Everyone I prefer to install program via tar ball, bug I usually don't know what and where the command "make install" put files to. Can you tell me some tip how to check "what's differentin my system"? maybe I should install a system check program or something else...where are they?

[SLUG] Can I mount jffs2 on DOC??

2002-07-25 Thread well
Hi everyone I am comfused at mounting jffs2 on DOC... I'm sure my DOC is OK with cat /proc/mtd, but I just can't mount jffs2 image on DOC dev:size erasesize name mtd0: 0100 4000 DiskOnChip 2000 My step to mount jffs2 is: mkfs.jffs2 -r /imgdata -o /data.img -e

[SLUG] what is kernel memory doing?

2002-07-24 Thread well
Hi If I use the default kernel of Slackware 8, the boot message shows Free unused kernel memory: 116k freed And if I disable some inneed kernel option(scsi, audio,), the boot message shows Free unused kernel memory: 66k freed With less kernel option, shouldn't be more memory freed? Can

[SLUG] linux 2.4.17 + jffs2 + mtd problems

2002-07-23 Thread well
Hi When I use linux kernel 2.4.17 and enable jffs2, I can build the kernel successfully. BUT If I patches the latest MTD patch to kernel source, I can't build the kernel successfully. There would be some errors... I tried the latest 2 version of MTD, and I get the same errors on

[SLUG] how to reduce kernel booting time?

2002-07-22 Thread well
Hi SLUG I heard from magazine that some embedded linux spend a very short time to boot system, even 3 seconds. Do you have any idea how to make it possible? Is to Hack kernel to make it do nothing when booting?? or something else?? any responds is helpful. W.B -- SLUG - Sydney Linux User's

[SLUG] linux kernel macro questions

2002-07-22 Thread well
Hi This is a sample code below that I move from kernel source, I don't know how to make it work... I have no idea where to assign the __setup_start value... Can you help me to assign value of __setup_start and __setup_end... Any responds is helpful. W.B