It looks like for some reason the Makefiles were generated differently on 
your system. The -m32 is an argument to gcc, but is reaching ld.

Try: make LINK.target=$CXX

On Friday, November 22, 2013 5:07:43 AM UTC+5:30, Sagar wrote:
>
>  
> The issue was with the local environment.
>  
> I did -
>  
> unset LD
> unset CXX
> unalias g++
>  
> and compiled the code again and it worked this time!
>  
> Thanks and Regards,
> Sagar 
>  
>
> On Thursday, 21 November 2013 10:38:22 UTC-8, Sagar wrote:
>
>> Hi All,
>>  
>> I am trying to compile v8 on my 32 bit box having CentOS 5.8.
>>  
>> Following steps I performed:
>>  
>> 1. svn checkout http://v8.googlecode.com/svn/trunk/ v8
>> 2. make dependencies
>> 3. make native -j4
>>  
>> I am getting following error:
>>  
>> CXX(target) 
>> /data1/software/JSEngine/v8/out/native/obj.target/mksnapshot.ia32/src/mksnapshot.o
>> LINK(target) /data1/software/JSEngine/v8/out/native/mksnapshot.ia32
>> /data1/local/v2/bin/ld: unrecognised emulation mode: 32
>> Supported emulations: elf_i386 i386linux elf32_x86_64
>> make[1]: *** [/data1/software/JSEngine/v8/out/native/mksnapshot.ia32] 
>> Error 1
>> make[1]: Leaving directory `/data1/software/JSEngine/v8/out'
>> make: *** [native] Error 2
>>  
>>  
>> a. gcc version 4.8.2 (GCC)
>> b. ld -V
>> GNU ld (GNU Binutils) 2.23.2
>>   Supported emulations:
>>    elf_i386
>>    i386linux
>>    elf32_x86_64
>>  
>> Can you please help me resolving the above mentioned error?
>>  
>> Thanks and Regards,
>> Sagar
>>  
>>
>

-- 
-- 
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