On Mac 10.9 (Mavericks), I used the following to compile the hello_world 
example:

clang++  -Iinclude -o hello_world 
out/x64.release/libv8_{base.x64,snapshot}.a 
out/x64.release/libicu{data,i18n,uc}.a  hello_world.cpp

Is it the the right / best way to do it?  Would it be worth to add the Mac 
command to the "Getting Started" 
guide https://developers.google.com/v8/get_started ?

On Sunday, October 27, 2013 10:09:35 AM UTC+1, Jochen Eisinger wrote:
>
> You shouldn't link against the obj.host libraries.
>
> Also, if you link against the .a files, you need to link first against v8 
> and then against icu.
>
> best
> -jochen
>
>
> On Sun, Oct 27, 2013 at 2:39 AM, [email protected] <javascript:> <
> [email protected] <javascript:>> wrote:
>
>> i have the same issue, i tryed to link against everything:
>>
>> ARGET_LINK_LIBRARIES(
>>         hello 
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.host/third_party/icu/libicui18n.a
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.host/third_party/icu/libicuuc.a
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.host/third_party/icu/libicudata.a
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.target/third_party/icu/libicui18n.a
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.target/third_party/icu/libicuuc.a
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.target/third_party/icu/libicudata.a
>>  
>>   
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.target/tools/gyp/libv8_base.x64.a 
>>         
>> /home/dev/proj/cpp/v8/out/x64.release/obj.target/tools/gyp/libv8_snapshot.a 
>>         pthread
>> )
>>
>> if i compile v8 using make x64.release -j4 i18nsupport=off werror=no it 
>> works.
>>
>>  -- 
>> -- 
>> v8-users mailing list
>> [email protected] <javascript:>
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to