Problem in Cross compile redis 3.2 for ARM

388 views
Skip to first unread message

Kumar Ashutosh

unread,
Mar 1, 2016, 10:30:28 AM3/1/16
to Redis DB
Hi,

I want to cross compile redis 3.2 for ARM board .  The steps i am doing for that one is as :

export CC = /path to arm-linux-gnueabihf-gcc
export LD =/path to ld

setting CFLAGS and LDFLAGS  ,
changing Lua makefile by giving  setting CC=/pathto arm-linux-gcc setting MYFLAGS and MYLDFLAGS as
make 

still I am not able to cross compile the redis  Am I missing something .








   

Jan-Erik Rediger

unread,
Mar 1, 2016, 11:02:38 AM3/1/16
to redi...@googlegroups.com
You still didn't state the actual problem.

What did you run?
What did you get?

Show the actual output of make and we might be able to help.
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at https://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.

Kumar Ashutosh

unread,
Mar 1, 2016, 3:08:28 PM3/1/16
to Redis DB
Hi,

Sorry for the short description of the problem 
Basically I want to cross compile redis 3.2 for my arm board 

This is system configuration : ubutntu 12.04   32 bit


and these are following steps I am doing
1 Downloaded and extracted redis 3.2
2 export CC=/path to arm-linux-gnueabihf-gcc
3 export LD=/path to arm-linux-gnueabihf-ld3
4 export RANLIB=/path to arm-linux-gnueabihf-ranlib
5 export CFLAGS=/path to include folder of arm-linux-gnueabihf-gcc(example /usr/arm-linux-gnueabihf/include)
6 export LDFLAGS = /path to lib folder of arm-linux-gnueabihf-gcc
7 changing lua makefile by setting CC =/path to arm-linux-gcc,setting MYCFLAGS and MYLDFLAGS as same as CFLAGS and LDFLAGS 
8 make

I check the different obj code so apart from lua all are 80686 version . This means only lua object code are "arm version " rest are still 80686 version 

Am I missing something .

Reply all
Reply to author
Forward
0 new messages