Hello,
I'm having a problem with a package I added to my LTIB projet for an iMX31 litekit eval card. I build the package with "./ltib -p mypackage"
What happens is that the package's makefile needs to compiles a tool that it uses to generate header files. Sadly, the invoked gcc is the one that is spoofed, i.e. the arm cross compiler. So the build fails, as the pentium cannot execute the tool.
what can I do to set the CC_FOR_BUILD environment variable to the host's gcc (compiles for i568), and not to the spoofed target gcc (compiles for arm).
I tried to set CC_FOR_BUILD=/usr/bin/gcc in the dist spec file, but it is still resolved as the cross compiler.
please help
Marc.
|