[parisc-linux] compiler & kernel

Joel Soete jsoe0708@tiscali.be
Tue, 3 Jun 2003 17:35:08 +0200


>
>> # file vmlinux-2.4.21-rc4-pa35
> vmlinux-2.4.21-rc4-pa35: ELF 64-bit MSB ..., dynamically linked (uses share
> libs), ...
> 
> In the 32-bits case I well understand that kernel was staticaly linked
but
> I but surprised that 64-bit kernel is dyn
>mically linked? 

This is a limitation of the 64-bit linker.  Binaries still need an
interpreter for startup even when linked with -static.  This probably
could be fixed but the use of static binaries under 64-bit hpux is
discouraged.  Under hpux,
>the linker needs to define some extra symbols
when a static binary is created.

> Anyway could you let me know how to 'generate this profile'

Look at the -Q, -ftime-report and -fmem-report options.

Thanks for all explanation.

For the last point I edit Makefile and in CFLAGS I added the tree mentionned
options. I just start to recompile a kernel 2.4.20 and log everything but
I think that it will increase dramaticaly the overall volume: is that all
will really help you or better some typical comparison?

Joel

---------------------------------
Découvrez les 6 clés et gagnez le Club Med à Vie avec Tiscali
http://www.tiscali.be/nl/subs/tiscali4life/default.asp?lang=fr