-
Can someone guide me on cross-compiling vector for ppc? Here is what I have
And with this when I try to build vector providing a target, I run into an error.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
Hi @bmallya ! We use Lines 213 to 245 in c878c50 Hopefully this helps! Let us know if you have further questions. |
Beta Was this translation helpful? Give feedback.
Hi @bmallya !
We use
cross
to cross-compile Vector. We maintain docker images for the cross compilation as they need a few additional dependencies. You can see our current ones here: https://github.com/vectordotdev/vector/tree/master/scripts/cross . You should be able create a similar one for ppc named (powerpc-unknown-linux-gnu.dockerfile
) and then build it usingmake cross-powerpc-unknown-linux-gnu
vector/Makefile
Lines 213 to 245 in c878c50