====== Wie bekomme ich heraus, welcher Kernel installiert ist: ====== Das ist wichtig für das Compilat, welches installiert werden muss. Beispiel für SuSE: ==== Linux SuSE Enterprise 10 ==== **uname –a** Linux egsrvu001 2.6.16.21-0.8-bigsmp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 athlon i386 GNU/Linux **cat /proc/version** Linux version 2.6.16.21-0.8-bigsmp (geeko@buildhost) (gcc version 4.1.0 (SUSE Linux)) #1 SMP Mon Jul 3 18:25:39 UTC 2006 **cat /etc/SuSE-release** SUSE Linux Enterprise Server 10 (i586) VERSION = 10 PATCHLEVEL = 1 ==== Linux openSuSE 11.1 ==== **uname -a** Linux bugs 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux **cat /proc/version** Linux version 2.6.27.29-0.1-default (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-08-15 17:53:59 +0200 **cat /etc/SuSE-release** openSUSE 11.1 (x86_64) VERSION = 11.1 ====== Wie erkenne ich ob 32bit oder 64bit Compilate verwendet werden ====== im Unix/Linux kann man mit dem Befehl 'file' Informationen über das Executable erhalten ==== 32bit AMD/Intel==== **file wvislst** wvislst: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped ==== 64bit AMD/Intel ==== **file projekte/webavw/bin/wvislst** projekte/webavw/bin/wvislst: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped ==== 64bit Itanium ==== **file wperl** wperl: ELF 64-bit MSB executable, IA-64 (Intel 64 bit architecture), version 1, dynamically linked (uses shared libs), not stripped ==== 32bit Sparc ==== **file bin/websrv** bin/websrv: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), dynamically linked (uses shared libs), not stripped