Lib.pm: Add file_architecture command.
[libguestfs.git] / images / README-binfiles
diff --git a/images/README-binfiles b/images/README-binfiles
new file mode 100644 (file)
index 0000000..f99fc84
--- /dev/null
@@ -0,0 +1,13 @@
+The bin-* and lib-* files are used for testing the
+Sys::Guestfs::Lib::file_architecture API.
+
+The bin-* files are generated from empty source files (ie.
+"main(){}") on the respective architectures.
+
+The lib-* files are generated from a (really) empty source file called
+lib.c which is linked into a library using gcc -shared on the
+respective architectures.
+
+If you are concerned that these binary files "lack source" then you
+can just remove them, but you may need to patch out tests in the perl/
+directory.