Commit 2ce72581f10ddc1cbcdbcf2bae0a8c9599c542ae

Authored by Jean-François Rey
1 parent d7ca093e14
Exists in master

try to compile lia_ltbox in static mode

Showing 6 changed files with 3 additions and 35 deletions Side-by-side Diff

tools/lia_ltbox/lia_env.sh
1   -#!/bin/bash
2   -LIA_TAGG_LANG=french
3   -LIA_TAGG=/labo/Tools/lia_ltbox/lia_tagg/
4   -LIA_PHON_REP=/labo/Tools/lia_ltbox/lia_phon/
5   -SRILM_BIN=/labo/Tools/SRI-LM-1.4.2/bin/i686
6   -LIA_BIGLEX=/labo/Tools/lia_ltbox/lia_biglex/
tools/lia_ltbox/lia_ne_v2.2/src/Makefile
... ... @@ -5,7 +5,7 @@
5 5 # CFLAGS= -ansi -I. -I/usr/include/libxml2 -I. -I.
6 6 CFLAGS= -I/usr/include/libxml2 -I.
7 7  
8   -LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2
  8 +LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2 -static -static-libgcc
9 9  
10 10 EXEC= clean_ne_form.exe decapital_biglex.exe decapital.exe tagg_xml_tk.exe filter_ecg.exe fmt4crf.exe from_ctm2token.exe from_ecg2corpuscate.exe from_stm2token.exe from_token2crf.exe from_token2ctm_ne.exe from_token2ecg.exe from_token2stm_ne.exe from_trs2ne_form.exe from_trs2token.exe onelinex.exe postprocess_ne.exe postprocess_ne_ester.exe rewrite_pattern.exe rewrite_token_ne.exe tagg2text.exe merge_biglex.exe edy_recap.exe
11 11  
tools/lia_ltbox/lia_phon/Makefile
... ... @@ -56,7 +56,7 @@
56 56  
57 57 # C compiler options (default=NONE)
58 58 #
59   -OPTIONS = $(INCLUDES)
  59 +OPTIONS = $(INCLUDES) -static -static-libgcc
60 60  
61 61 # Source compilation
62 62  
tools/lia_ltbox/lia_tagg/Makefile
... ... @@ -47,7 +47,7 @@
47 47  
48 48 # C compiler options (default=NONE)
49 49 #
50   -OPTIONS = $(INCLUDES)
  50 +OPTIONS = $(INCLUDES) -static -static-libgcc
51 51  
52 52 # Source compilation
53 53  
tools/lia_ltbox/yoyo
1   -<s> BOC challenge Isabelle Autissier le sauvetage par Jack
2   -Taylor Sydney premier jan
3   -la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la
4   -Nouvelle anne1e dimanche matin
5   -heure locale bord de la fre1gate lance_missiles australienne
6   -Darwin qui l' avait recueillie
7   -quelques heures plus_to3t au_milieu_d' une mer de1monte1e </s>
8   -<s> la jeune femme a3ge1e
9   -de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19
10   -heures 59 GMT samedi au pont de son
11   -bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk
12   -envoye1 de la Darwin </s>
tools/lia_ltbox/yoyo2
1   -BOC challenge Isabelle Autissier le sauvetage par Jack
2   -Taylor Sydney premier jan
3   -la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la
4   -Nouvelle anne1e dimanche matin
5   -heure locale bord de la fre1gate lance_missiles australienne
6   -Darwin qui l' avait recueillie
7   -quelques heures plus_to3t au_milieu_d' une mer de1monte1e.
8   -
9   -La jeune femme a3ge1e
10   -de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19
11   -heures 59 GMT samedi au pont de son
12   -bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk
13   -envoye1 de la Darwin.