Hello all.
For my own peculiar reasons, I need to compile something statically.
This might appear to be a trivial question, but after quite a few trials
it seems like I can't find the right words to ask google with. So I ask you.
Here is my program. I hope you can inderstand what it does,
On Thu, Mar 06, 2003 at 09:22:46PM +0200, Eli Billauer wrote:
And here's my little session:
[EMAIL PROTECTED] helloworld]$ gcc -static -o hello hello.c
You forgot -O2, and you forgot to give your machine a name!
[EMAIL PROTECTED] helloworld]$ ls -l hello
-rwxrwxr-x1 eli eli
Muli Ben-Yehuda wrote:
You forgot -O2, and you forgot to give your machine a name!
Actually, neither. I figured out that -O2 didn't help. As for my
machine's name, it's like getting a dog who already responds to a name.
You don't change it. ;)
You forgot to run strip(1).
Hmmm. I
On Thu, Mar 06, 2003 at 09:45:36PM +0200, Eli Billauer wrote:
strip(1). Anything beyond that requires assembly and careful
massaging.
Really? This is the end of it? How come /sbin/insmod.static is so small?
What do they know that I don't?
Do you know for a fact that insmod.statis was