GTC n'utilise pas de vrai linker, donc ne gère pas les vraies librairies statiques. Ce qui est utilisé à la place est à mi-chemin entre les headers précompilés et les librairies statiques: un gros PCH qui contient à la fois les déclarations (style header) et les implémentations (style librairie). De plus, il me semble que les librairies n'ont pas le droit de contenir des relogements, les implémentations sont copiées en binaire (mais je ne suis pas sûr... Pollux?). Donc il faut modifier une librairie beaucoup pour qu'elle soit utilisable avec
GTC.
Et sinon, Pollux, je signale qu'en distribuant
tigcc.a sans les sources dans
gtc-full.tar.bz2, tu as perdu pour toujours le droit de distribuer TIGCCLIB en quelle forme que ce soit, y compris de distribuer tout logiciel linké avec TIGCCLIB. Il fallait respecter la licence... Les termes de la licence sont clairs:
In addition to the permissions in the GNU General Public License, the
TIGCC Team gives you unlimited permission to link the compiled
versions of these files with other programs, and to distribute
those programs without any restriction coming from the use of this
file. (The General Public License restrictions do apply in other
respects; for example, they cover modification of the files, and
distribution when not linked into another program.)
et:
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
=> GTC et tout futur logiciel TI-68k de ta part sont illégaux, à moins que tu ne remplaces entièrement TIGCCLIB par du code développé de manière totalement indépendante.
!call Pollux
--- Call : Pollux appelé(e) sur ce topic ...