How to compile a kernel in C++ using a cross compiler?
Posted: Mon May 08, 2017 8:10 pm
I recently started porting my kernel project to c++ (from C) and tried to compile it with the same cross compiler I use to compile my C kernel. The problem is that GCC calls Ubuntu's G++ instead of calling the cross-compiler G++. Therefore when the cross compiler linker tries to link the kernel it can't read the object files. How do I fix this?
Thanks in advance
Thanks in advance