[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [christophe.lyon@st.com: Re: open source = codede qualité ????]



Charles Goyard wrote:
> 
> renvoie à debian-french...
> 
> ----- Forwarded message from Christophe Lyon <christophe.lyon@st.com> -----

> 
> A vue de nez, on dirait que c'est libtool qui fait ca.
> Par contre, je ne sais pas comment l'en empecher.

effectivement, cela semble être une bonne piste...

d'un côté lors de la compil il y a des choses du style :

make[2]: Entering directory `/sphinx2/LMF024/XML/libxml2-2.2.8'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I./include -I./include       -g -O2 -c entities.c
rm -f .libs/entities.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -c
entities.c  -fPIC -DPIC -o .libs/entities.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -c
entities.c -o entities.o >/dev/null 2>&1

et de l'autre côté dans le Makefile (avec un grep sur libtool puis sur
LIBTOOL ........)

Makefile:LIBTOOL = $(SHELL) $(top_builddir)/libtool
Makefile:LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Makefile:LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)
$(LDFLAGS) -o $@
Makefile:           echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p
$(DESTDIR)$(libdir)/$$p"; \
Makefile:           $(LIBTOOL)  --mode=install $(INSTALL) $$p
$(DESTDIR)$(libdir)/$$p; \
Makefile:         $(LIBTOOL)  --mode=uninstall rm -f
$(DESTDIR)$(libdir)/$$p; \
Makefile:       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
...

Makefile:           echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM)
$$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
Makefile:           $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed
's/$$/$(EXEEXT)/'`; \



gulps, mais on progresse...

A+

-- 
# Georges MARIANO                 tel: (33) 03 20 43 84 06
# INRETS, 20 rue Elisee Reclus    fax: (33) 03 20 43 83 59
# 59650 Villeneuve d'Ascq         mailto:georges.mariano@inrets.fr
# FRANCE.                         
# http://www3.inrets.fr/Public/ESTAS/Mariano.Georges/
# http://www3.inrets.fr/B-Bibliography/



Reply to: