From 2ce72581f10ddc1cbcdbcf2bae0a8c9599c542ae Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Tue, 27 Aug 2013 10:41:16 +0200 Subject: [PATCH] try to compile lia_ltbox in static mode --- tools/lia_ltbox/lia_env.sh | 7 ------- tools/lia_ltbox/lia_ne_v2.2/src/Makefile | 2 +- tools/lia_ltbox/lia_phon/Makefile | 2 +- tools/lia_ltbox/lia_tagg/Makefile | 2 +- tools/lia_ltbox/yoyo | 12 ------------ tools/lia_ltbox/yoyo2 | 13 ------------- 6 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 tools/lia_ltbox/lia_env.sh delete mode 100644 tools/lia_ltbox/yoyo delete mode 100644 tools/lia_ltbox/yoyo2 diff --git a/tools/lia_ltbox/lia_env.sh b/tools/lia_ltbox/lia_env.sh deleted file mode 100644 index c327e7a..0000000 --- a/tools/lia_ltbox/lia_env.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -LIA_TAGG_LANG=french -LIA_TAGG=/labo/Tools/lia_ltbox/lia_tagg/ -LIA_PHON_REP=/labo/Tools/lia_ltbox/lia_phon/ -SRILM_BIN=/labo/Tools/SRI-LM-1.4.2/bin/i686 -LIA_BIGLEX=/labo/Tools/lia_ltbox/lia_biglex/ - diff --git a/tools/lia_ltbox/lia_ne_v2.2/src/Makefile b/tools/lia_ltbox/lia_ne_v2.2/src/Makefile index 292d6ce..b5eecd6 100644 --- a/tools/lia_ltbox/lia_ne_v2.2/src/Makefile +++ b/tools/lia_ltbox/lia_ne_v2.2/src/Makefile @@ -5,7 +5,7 @@ CC=gcc # CFLAGS= -ansi -I. -I/usr/include/libxml2 -I. -I. CFLAGS= -I/usr/include/libxml2 -I. -LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2 +LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2 -static -static-libgcc 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 diff --git a/tools/lia_ltbox/lia_phon/Makefile b/tools/lia_ltbox/lia_phon/Makefile index 72bb8e9..fee3ddc 100644 --- a/tools/lia_ltbox/lia_phon/Makefile +++ b/tools/lia_ltbox/lia_phon/Makefile @@ -56,7 +56,7 @@ INCLUDES = -I. -I$(LIA_PHON_REP)/src/aphon -I$(LIA_PHON_REP)/src/libgram -I$(LIA # C compiler options (default=NONE) # -OPTIONS = $(INCLUDES) +OPTIONS = $(INCLUDES) -static -static-libgcc # Source compilation diff --git a/tools/lia_ltbox/lia_tagg/Makefile b/tools/lia_ltbox/lia_tagg/Makefile index 2a60b44..8b438aa 100644 --- a/tools/lia_ltbox/lia_tagg/Makefile +++ b/tools/lia_ltbox/lia_tagg/Makefile @@ -47,7 +47,7 @@ INCLUDES = -I. -I$(LIA_TAGG)/src/libgram -I$(LIA_TAGG)/src/format # C compiler options (default=NONE) # -OPTIONS = $(INCLUDES) +OPTIONS = $(INCLUDES) -static -static-libgcc # Source compilation diff --git a/tools/lia_ltbox/yoyo b/tools/lia_ltbox/yoyo deleted file mode 100644 index 155fc3c..0000000 --- a/tools/lia_ltbox/yoyo +++ /dev/null @@ -1,12 +0,0 @@ - BOC challenge Isabelle Autissier le sauvetage par Jack -Taylor Sydney premier jan -la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la -Nouvelle anne1e dimanche matin -heure locale bord de la fre1gate lance_missiles australienne -Darwin qui l' avait recueillie -quelques heures plus_to3t au_milieu_d' une mer de1monte1e - la jeune femme a3ge1e -de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19 -heures 59 GMT samedi au pont de son -bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk -envoye1 de la Darwin diff --git a/tools/lia_ltbox/yoyo2 b/tools/lia_ltbox/yoyo2 deleted file mode 100644 index d455287..0000000 --- a/tools/lia_ltbox/yoyo2 +++ /dev/null @@ -1,13 +0,0 @@ -BOC challenge Isabelle Autissier le sauvetage par Jack -Taylor Sydney premier jan -la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la -Nouvelle anne1e dimanche matin -heure locale bord de la fre1gate lance_missiles australienne -Darwin qui l' avait recueillie -quelques heures plus_to3t au_milieu_d' une mer de1monte1e. - -La jeune femme a3ge1e -de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19 -heures 59 GMT samedi au pont de son -bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk -envoye1 de la Darwin. -- 1.8.2.3