4Fermer6
deleted2Le 24/11/2009 à 22:15
Tiens, à propos de -g, j'ai ces messages quand je compile un soft avec, ce sont des warnings :
unedit.o: Warning: Ignoring reloc 32 at 0xE9D in section 4 to unimported symbol 332.
unedit.o: Warning: Ignoring reloc 33 at 0xEB1 in section 4 to unimported symbol 333.
unedit.o: Warning: Ignoring reloc 34 at 0xEC5 in section 4 to unimported symbol 334.
menu.o: Warning: Ignoring reloc 63 at 0x128F in section 4 to unimported symbol 745.
menu.o: Warning: Ignoring reloc 64 at 0x12A3 in section 4 to unimported symbol 746.
menu.o: Warning: Ignoring reloc 65 at 0x12B7 in section 4 to unimported symbol 747.
strings.o: Warning: Ignoring reloc 7 at 0x199 in section 4 to unimported symbol 52.
strings.o: Warning: Ignoring reloc 8 at 0x1AD in section 4 to unimported symbol 53.
strings.o: Warning: Ignoring reloc 9 at 0x1C1 in section 4 to unimported symbol 54.

Je compile comme ça :
tigcc -g -v -O2 -Wall -W --cut-ranges --optimize-code --remove-unused --optimize-relocs --merge-constants --reorder-section \
  unedit.c  \
  menu.c    \
  strings.c \
  genlib.a  \
  -o unedit 2>> log

Le binaire final semble valide et fait la même taille que sans '-g'. Il semble tourner correctement.

Kèsako ?

ps-> KTIGCC requiert encore KDE3, si c'est pas de l'obsolescence ça ...