View previous topic :: View next topic |
Author |
Message |
pofat
Joined: 12 Sep 2013 Posts: 1
|
Posted: Thu Sep 12, 2013 8:59 am Post subject: How to do cross compile of v1.8 |
|
|
Hi,
I am trying to compile the latest vesrion, miniupnpc-1.8.20130801 with my cross compilor : arm-none-linux-gnueabi-gcc
I modified my makefiles as following:
CC = arm-none-linux-gnueabi-gcc
CFLAGS = -O -Wall -DNDEBUG (command all other CFLAGS)
after make, i copy "upnpc-shared" and "libminiupnpc.so" to my embeded-linux,
under folder /bin and /lib respectively.
but it turns out that the binary file can't execute at all.....
any suggestion ? thanks. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Wed Sep 25, 2013 7:58 am Post subject: |
|
|
what do you mean "it can't execute at all" ?
Is that the binary which is in wrong format/wrong architecture, or is it crashing ?
Code: | $ file upnpc-* lib* | can tell you which format/architecture _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|