Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: ports/fuseiso/README.nacl

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/fontconfig/build.sh ('k') | ports/fvwm/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/fuseiso/README.nacl
diff --git a/ports/fuseiso/README.nacl b/ports/fuseiso/README.nacl
index bfae77586e6359a8cd5fddb01167483dca891676..a86f041f7a4709e3868196daf949a5044cca5e4c 100644
--- a/ports/fuseiso/README.nacl
+++ b/ports/fuseiso/README.nacl
@@ -21,11 +21,10 @@ Some sample code to test this lib(newlib version):
#include <fuseiso_lib.h>
#include <stdio.h>
-#include <fcntl.h>
-#include <unistd.h>
-
-int nacl_main(int argc, char* argv[]) {
+#include <fcntl.h>
+#include <unistd.h>
+int main(int argc, char* argv[]) {
char* path = "<YOUR ISO PATH>";
char* mount_point = "/foo";
char* fs_name = "fuseiso_fs";
@@ -61,4 +60,4 @@ $NACLSDKPATH/toolchain/linux_x86_newlib/bin/x86_64-nacl-gcc \
-lnacl_io -lppapi -lfuseiso -lstdc++ -lncurses -lglib-2.0 -lz -lintl
Should be able to get a fusefoo_newlib.nexe after complie and link.
-Copy fusefoo_newlib.nexe and the iso file to devenv to test it.
+Copy fusefoo_newlib.nexe and the iso file to devenv to test it.
« no previous file with comments | « ports/fontconfig/build.sh ('k') | ports/fvwm/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698