Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] Mihini Cross Compilation

Le 06/08/2013 19:28, mnerys@xxxxxxxxxx a écrit :
> Hello All,

Hello Marcello,

> 
> I'm doing some more debugging and I had some issues with my Mihini cross-compilation. I saw that the "Run As" approach in LDT, the runtime was looking for some packages under the directory /opt/[...]. Instead of instructing the "Run As" approach to look for the .so in a different location than "/opt/[...]", which I am not really sure how to do, I decided to give a try to the Cross Compilation, so that I could use my own .deb with dpkg to place the files at the default locations.
> 
> After some time, I figured out that we're supposed to use a 32 bit OS with the Linaro toolchain,

Oops, I didn't saw that

> so I edited the page:
> 
> http://wiki.eclipse.org/Mihini/Cross_Compilation
> 
> to include this:
> 
> Please, note that these steps have been validated on a 32 bit OS. Trying to run it on a 64 bit OS may give you errors when trying the build.sh .

Thanks !

> 
> However, since I wanted to give a try to the devicetree GPIO approach, I tried to do:
> 
> make gpio
> make make agent_treemgr_gpio
> 
> but these did not succeed. Doing the
> 
> make package
> 
> didn't seem to be building gpio ou agent_treemgr_gpio modules.

Yes, a few optionnal targets were not included in the packages ; now I
think everything is shipped in the armhf & 32bit packages, and I will
make the 64bit tomorrow.

> 
> I do not know much about building these libraries, so if you can fix this issue or give me good pointers/background on how to investigate/fix it, I'd really appreciate.

You can pull the changes from my repository
(https://gitub.com/nim65s/mihini-repo), and you should be able to get
all you want.

> Thanks,
> Marcelo
> 

Guilhem Saurel.


Back to the top