rdnetto / YCM-Generator

Generates config files for YouCompleteMe (https://github.com/Valloric/YouCompleteMe)
GNU General Public License v3.0
917 stars 129 forks source link

Possible to support alternative compiler for cross compiler such as ARM, POWERPC ? #114

Open VincentVonPark opened 6 years ago

VincentVonPark commented 6 years ago

Hi guys. I am interesting in this plugin, but I am blocked at using this plugin in the kernel compiled for Cross Compiler like ARM cpu, Not X86. At first, I tried to solve the issue seeing the script, but it turned out it is only for clang.

So is it possible to support another compiler like the cross compiler for ARM ?

I would like to listen to you about the hints.

Thank you so much for reading it,

Vincent Von Park.

rdnetto commented 6 years ago

There's nothing about how it's designed that's specific to x86. You simply need to add a symlink to the relevant directory with the same name as your cross compiler. Here's an example of how this was done for ARM & AVR.