ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Can't build on MacOSX #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://v8.googlecode.com/svn/trunk@3239
http://v8cgi.googlecode.com/svn/trunk@663

g++ -o v8cgi src/js_common.o src/js_system.o src/js_io.o src/js_cache.o
src/js_gc.o src/js_app.o src/js_path.o src/v8cgi.o
-L/Users/veged/Downloads/v8 -lv8 -lv8
Undefined symbols:
...skip many symbols...
ld: symbol(s) not found
collect2: ld returned 1 exit status
scons: *** [v8cgi] Error 1
scons: building terminated because of errors.

Full error output in attach.

Original issue reported on code.google.com by mr.ve...@gmail.com on 8 Nov 2009 at 4:54

Attachments:

GoogleCodeExporter commented 9 years ago
at r696 i success compiled with this diff of SConstruct

Index: SConstruct
===================================================================
--- SConstruct  (revision 696)
+++ SConstruct  (working copy)
@@ -136,6 +136,8 @@

 if env["os"] == "darwin":
        env.Append(
+               CCFLAGS = ["-m32"],
+               LINKFLAGS = ["-m32"],
                SHLINKFLAGS = "-undefined dynamic_lookup",
                CPPDEFINES = ["DSO_EXT=so"]
        )

Original comment by mr.ve...@gmail.com on 30 Dec 2009 at 12:41

GoogleCodeExporter commented 9 years ago
v8cgi now builds on Mac OSX with latest v8 :)

Original comment by ondrej.zara on 7 Jan 2010 at 12:28