Generated Libs in Windows Build

40 views
Skip to first unread message

Jason Josephy

unread,
May 12, 2015, 12:11:10 PM5/12/15
to v8-u...@googlegroups.com
I just built using Visual Studio and I am confused by the generated libs. I read there should be a v8_lib.lib that I can link to but I see that there are 4 of these in the output they look like this

v8_lib_0.lib
v8_lib_1.lib
v8_lib_2.lib
v8_lib_3.lib

Is this right and which one do I link to. Linking causes all sort of other errors that I am working through but thought I would start here to make sure my build output is correct as it does not seem to be.

Sven Panne

unread,
May 18, 2015, 7:36:19 AM5/18/15
to v8-u...@googlegroups.com
On Tue, May 12, 2015 at 6:11 PM, Jason Josephy <jjos...@gmail.com> wrote:
I just built using Visual Studio and I am confused by the generated libs. I read there should be a v8_lib.lib that I can link to but I see that there are 4 of these in the output they look like this

v8_lib_0.lib
v8_lib_1.lib
v8_lib_2.lib
v8_lib_3.lib

Is this right and which one do I link to. [...]

I guess the answer is "all". :-) IIRC, https://chromium.googlesource.com/v8/v8/+/addbe75e199eb28d8255f83bce75852ea1b17943 is the change which introduced the splitting, and the reason is a size limitation of the VS linker. You can try to add "msvs_shard=0" to your GYP_DEFINES to get a single *.lib, but I'm not sure if that works.

sahrulijam

unread,
May 20, 2015, 9:59:42 AM5/20/15
to v8-u...@googlegroups.com

Vl8uyu67yyhhnbc ,zero3etttyg5e4r9e0

4Pjftj8a[

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages