user1973900
user1973900

Reputation: 381

Cross compile with linux libraries on windows

I have some functional libraries (Qt) builded on linux Mint and I already built some test applications (cross compile) for ARM that works. Since it was impossible to cross compile the same libs on Windows, despite all efforts and the excellent cross compiler (Linaro) I wonder if it's possible a second approach.

It's possible to take required so + headers and use them in cross compilation on Windows for the same ARM? (assuming the cross compiler will be the same).

In fact, I can link with linux so libs like regular a's ?

Thank you very much,

Upvotes: 0

Views: 430

Answers (1)

Alexander Shukaev
Alexander Shukaev

Reputation: 17019

You could always build GCC as a cross-compiler by yourself for the desired targeted architecture and platform (a useful skill to have, anyway). I did it myself several times on Windows. I highly recommend this tutorial for further reading. It has been vastly improved since the time I used it to build my first cross-compiler, several years ago. Good luck.

Upvotes: 1

Related Questions