ldtp / ldtp2

Linux Desktop Testing Project
GNU Lesser General Public License v2.1
108 stars 49 forks source link

LDTP linux cross-compiler build steps #38

Closed brownie313 closed 6 years ago

brownie313 commented 7 years ago

Hi All,

I need to build ldtp using a specific cross compiler so it can run on my linux build. Has anyone had any luck with this? Any pointers on how to go about this task would be highly appreciated.

Thanks a lot in advance.

richelbilderbeek commented 7 years ago

I know how to cross-compile from GNU/Linux to Windows (see my MXE tutorial). I do that because I find it unnecessary to buy Windows for myself.

When cross-compiling from [what?] to GNU/Linux, it is my experience it to be way easier to just install and compile in the target environment. Setting up a cross-compile toolchain is harder. If you dare to set up such a toolchain, I'd be happy to follow that, but I cannot help you and I will try hard never do so myself.

I do think this GitHub is not the best place to ask for help about setting up a cross-compiler toolchain.

I hope this is of some help.

Good luck, Richel

brownie313 commented 7 years ago

Dear Richel,

Thanks for the quick response. Luckily, I already have the toolchain for the embedded Linux OS that I want to cross compile LDTP for.

It's an embedded system so compiling on the target is not an option due to limited resources. I only have access to push a compiled binary or library file onto the target system and then execute it.

I suppose our work will be easier now. On the road bow. Will look at your tutorial later.

Thanks again, Brownson

On May 12, 2017 17:38, "Richel Bilderbeek" notifications@github.com wrote:

I know how to cross-compile from GNU/Linux to Windows (see my MXE tutorial https://github.com/richelbilderbeek/mxe_tutorial). I do that because I find it unnecessary to buy Windows for myself.

When cross-compiling from [what?] to GNU/Linux, it is my experience it to be way easier to just install and compile in the target environment. Setting up a cross-compile toolchain is harder. If you dare to set up such a toolchain, I'd be happy to follow that, but I cannot help you and I will try hard never do so myself.

I do think this GitHub is not the best place to ask for help about setting up a cross-compiler toolchain.

I hope this is of some help.

Good luck, Richel

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ldtp/ldtp2/issues/38#issuecomment-301018900, or mute the thread https://github.com/notifications/unsubscribe-auth/Aa0ykZoVRQTrTxeuj6xmqpdd8bFOPbCNks5r5BqdgaJpZM4NYwEX .

richelbilderbeek commented 7 years ago

Ah, clear. Too bad I have no experience with that. Good luck!

richelbilderbeek commented 6 years ago

I guess this Issue can be closed :+1: