Displaying 5 results from an estimated 5 matches for "supermin_ldadd".
2014 Mar 03
2
[PATCH] supermin: Fix build with bytecode compiler
...MLFLAGS = -warn-error CDEFLMPSUVXYZ
+
if !HAVE_OCAMLOPT
OBJECTS = $(BOBJECTS)
BEST = c
+OCAMLFLAGS += -custom
else
OBJECTS = $(XOBJECTS)
BEST = opt
endif
-OCAMLPACKAGES = -package unix,str
-OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ
-
supermin_DEPENDENCIES = $(OBJECTS) ext2init-bin.o
supermin_LDADD = ext2init-bin.o ../lib/libgnu.a
--
1.9.0
2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...-I../lib
+format-ext2-init-c.$(OBJEXT): format-ext2-init-bin.h
BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)
@@ -132,9 +134,9 @@ OBJECTS = $(XOBJECTS)
BEST = opt
endif
-supermin_DEPENDENCIES = $(OBJECTS) format-ext2-init-bin.o
+supermin_DEPENDENCIES = $(OBJECTS)
-supermin_LDADD = format-ext2-init-bin.o ../lib/libgnu.a
+supermin_LDADD = ../lib/libgnu.a
supermin_LINK = \
./supermin-link.sh \
@@ -148,17 +150,15 @@ supermin_LINK = \
.ml.cmx:
$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
-CLEANFILES += format-ext2-init-bin.S
+CLEANFILES += forma...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi,
this patch replaces the first simpler version:
https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html
The approach now is to use a C snippet, which should pose way less
compatibility issues.
Thanks,
Pino Toscano (1):
Switch binary embedding to a C source
.gitignore | 2 +-
src/Makefile.am | 18 +++++++++---------
src/{bin2s.pl => bin2c.pl} |
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files.
Remove the --dtb option, it's obsolete.
Rename modules according to their purpose.
Rich.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...OCAMLPACKAGES = -package unix,str
-if HAVE_OCAML_INIFILES
-OCAMLPACKAGES += -package inifiles
-endif
OCAMLFLAGS = -warn-error CDEFLMPSUVXYZ
-supermin: $(OBJECTS)
- $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLPACKAGES) -linkpkg \
- $^ -o $@
+supermin_DEPENDENCIES = $(OBJECTS) ext2init-bin.o
+
+supermin_LDADD = ext2init-bin.o
+
+supermin_LINK = \
+ $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) \
+ $(OCAMLPACKAGES) -linkpkg \
+ -cclib '$(EXT2FS_LIBS) $(COM_ERR_LIBS)' \
+ -o $@ $(OBJECTS)
.mli.cmi:
$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
@@ -109,6 +126,24 @@ supermin: $(O...