On Thu, Nov 04, 2004 at 08:02:40AM +0100, Piotr Wawrzyniak wrote:
> glibc kompilowałem z trochę innymi flagami niż jest to robione w pld, może to
> jest problemem.
> [EMAIL PROTECTED] ~/programowanie]$ echo $CFLAGS
> -Os -march=pentium4 -mcpu=pentium4 -mfpmath=sse -msse2 -mmmx -s -pipe -z
> combreloc -DBDEBUG -DG_DISABLE_ASSERT -fomit-frame-pointer
moze..
[EMAIL PROTECTED] undefine]$ cat >a.c
main() { printf("Dupa\n"); }
[EMAIL PROTECTED] undefine]$ cc a.c -o a.shared
[EMAIL PROTECTED] undefine]$ cc -static a.c -o a.static
[EMAIL PROTECTED] undefine]$ ls -l a.shared a.static
-rwx------ 1 undefine users 9033 2004-11-04 08:16 a.shared
-rwx------ 1 undefine users 483949 2004-11-04 08:16 a.static
[EMAIL PROTECTED] undefine]$ file a.shared a.static
a.shared: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux
2.4.6, dynamically linked (uses shared libs), not stripped
a.static: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux
2.4.6, statically linked, not stripped
[EMAIL PROTECTED] undefine]$
na amd64 dziala
[EMAIL PROTECTED] undefine]$ cat >a.c
main() { printf("dupa\n");}
[EMAIL PROTECTED] undefine]$ cc a.c -o a.shared
[EMAIL PROTECTED] undefine]$ cc -static a.c -o a.static
[EMAIL PROTECTED] undefine]$ ls -l a.shared a.static
-rwx------ 1 undefine users 6499 2004-11-04 08:19 a.shared
-rwx------ 1 undefine users 428760 2004-11-04 08:19 a.static
[EMAIL PROTECTED] undefine]$ file a.shared a.static
a.shared: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux
2.4.6, dynamically linked (uses shared libs), not stripped
a.static: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux
2.4.6, statically linked, not stripped
na athlonie tez.
wszystko aktualne z main+ready
--
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator, Adam Mickiewicz University WMiI
PLD Linux Developer HomePage: http://aramin.net/
JID: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED]
_______________________________________________
pld-devel-pl mailing list
[EMAIL PROTECTED]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl