Re: [newbie] Re: Re: compile asm in C

2004-03-20 Thread Chungwei Hsiung
thanks for the reply I have MDK9.2 and gcc 3.3.1. Does anyone know how I can compile the assembly in a c file? void main() { __asm__( mov $0x0, %ebx mov $0x1, %eax int$0x80 ); } any help is appreciated, please. :) best regards Chungwei Björn Lundin wrote: Chungwei

[newbie] compile asm in C

2004-03-10 Thread Chungwei Hsiung
Hello guys I have a question. I've seen things like that being done on some articles, but somehow it doesn't work on my machine. If you know how to solve this problem, please let me know. I really appreciate it. I would like to know how to compile a C file when there are assembly code in it

Re: [newbie] Re: compile asm in C

2004-03-10 Thread Chungwei Hsiung
Björn Lundin wrote: Chungwei Hsiung wrote: Hello guys I have a question. I've seen things like that being done on some articles, but somehow it doesn't work on my machine. If you know how to solve this problem, please let me know. I really appreciate it. I would like to know how to compile a C

Re: [newbie] can't compile a file with -static

2004-03-07 Thread Chungwei Hsiung
thanks Philip it works perfect best regards Chungwei Philip Cronje wrote: On Sunday, 7 March 2004 04:45, Chungwei Hsiung wrote: Hello everyone.. I have a simple file and I try to compile it with -static flag, but I can't. Maybe you should try installing the glibc-static-devel package

[newbie] can't compile a file with -static

2004-03-06 Thread Chungwei Hsiung
Hello everyone.. I have a simple file and I try to compile it with -static flag, but I can't. I use: gcc -o shellcode -ggdb -static shellcode.c but I got the following error:: /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status my test file is the following: #include stdio.h int

Re: [newbie] How to remove slider thingies...

2004-02-18 Thread Chungwei Hsiung
On Wed, 2004-02-18 at 13:50, Adam Halesworth wrote: Im using GNOME and I have un-expanded (is that a word?) the main taskbar bit at the bottom. Now there are giant thick control bars so that i can drag the taskbar around. Is there a way to remove these? I'd just like a solid transparent bar at

[newbie] concurrent sound while using 2 programs

2004-02-16 Thread Chungwei Hsiung
Hello everyone.. I have sound notification configured in gaim, but when I play music, all the notifications from gaim are gone. I remember this questions was asked before.. but I can't find it. any help is appreciated... Chungwei Want to buy your Pack or Services from MandrakeSoft? Go to