Hi,

I've installed sparse and cgcc and were playing with this tools. However,
I'm not sure whether it's working in current version of OVS.

The acinclude.m4 indeed sets the SPARSE related flags. After I do
"./configure", the Makefile shows:
CC = $(if $(C),env REAL_CC="gcc" CHECK="$(SPARSE) -I
$(top_srcdir)/include/sparse $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc
$(CGCCFLAGS),gcc)

Where in my case it's always "CC=gcc" and in OVS_ENABLE_SPARSE, I couldn't
find where is this "if $(C)" might be true.

Should we do something like:
CC = $(if $(CGCC_EXIST), export REAL_CC="gcc" CHECK="$(SPARSE) -I
$(top_srcdir)/include/sparse $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc
$(CGCCFLAGS),gcc)

Thanks
William
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to