View previous topic :: View next topic |
Author |
Message |
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri May 20, 2005 3:42 pm Post subject: [GLIBC] Compiler de facon statique ? |
|
|
Bon - alors.. J'ai besoin de compiler GLIBC de facon statique. J'ai bien vu le USE flag "static", mais il nous dit que c'est pour installer les fichiers binaires de facon statique. Alors.. Je me sens bete. Y a une facon de la compiler et installer en statique dans portage? Ou alors.. Est-ce qu'il y a un endroit ou je peux trouver un binaire de glibc ? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
Starch Guru
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Fri May 20, 2005 4:56 pm Post subject: |
|
|
t'appelles quoi de façon statique ?
si tu entends les .a, ils sont déjà faits quand tu compiles
Code: |
qpkg -l glibc | grep "\.a"
|
après pour utiliser ceux là plutot que les shared, je pense qu'il faut passer une option à gcc devant les noms des libs. _________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri May 20, 2005 5:23 pm Post subject: |
|
|
D'accord.. Euh.. Un gourou de GCC dans les parages? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
blasserre Veteran
Joined: 10 Feb 2004 Posts: 1362 Location: Lille, Vlaanderen
|
Posted: Fri May 20, 2005 5:27 pm Post subject: |
|
|
Trevoke wrote: | D'accord.. Euh.. Un gourou de GCC dans les parages? |
y'en a pas sur les forums LFS ? _________________ benj
technicien professionnel, ascendant winner |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri May 20, 2005 5:30 pm Post subject: |
|
|
Je veux pas toucher aux forums LFS, je veux rester pur et intact, comme une jeune femme nubile et vierge qui se garde pour .. euh.. Bref. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
Apsforps Guru
Joined: 27 Sep 2004 Posts: 520 Location: Belgium
|
Posted: Fri May 20, 2005 5:37 pm Post subject: |
|
|
Trevoke wrote: | jeune femme nubile et vierge qui se garde pour .. euh.. Bref. |
Euh, fille non? Parce que femme et vierge, à part une il y a 2000 ans (et encore ), j'en connais pas beucoup
Bon ça va je sors _________________ Apsforps |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri May 20, 2005 5:38 pm Post subject: |
|
|
A 20 ans c'est une femme!
[ceci dit, tiens la porte, je m'enfonce la] _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
Leander256 l33t
Joined: 05 Jul 2003 Posts: 910 Location: Singapour
|
Posted: Fri May 20, 2005 6:59 pm Post subject: |
|
|
Trevoke wrote: | D'accord.. Euh.. Un gourou de GCC dans les parages? |
Je suis pas gourou de gcc, mais par hasard ce ne serait tout simplement pas l'option -static que tu cherches? |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri May 20, 2005 7:48 pm Post subject: |
|
|
Code: | $ make BOOT_LDFLAGS="-static" bootstrap
[..............................................]
/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc
/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for -lc
/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory `/mnt/LFS/sources/gcc-3.4.1/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/mnt/LFS/sources/gcc-3.4.1/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/LFS/sources/gcc-3.4.1/gcc'
make: *** [bootstrap] Error 2 |
Voila voila.. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
|