CodeLite fails to build but shell make works fine
Posted: Wed Oct 28, 2009 4:01 am
Hello,
I am just getting started using CodeLite. I want to use it to create/debug ARM code for Beagleboard. I have set up my compiler and project settings and looking at the auto-generated makefiles, everything seems great. However, when I build the project in CodeLite, I get the following:
----------Build Started--------
"make" -j 1 -f "Hello_wsp.mk"
----------Building project:[ Hello - Debug ]----------
/bin/sh: arm-none-linux-gnueabi-gcc: not found
arm-none-linux-gnueabi-gcc -c "/home/stevo/Projects/Hello/main.c" -g -o ./Debug/main.o "-I." "-I."
make[1]: *** [Debug/main.o] Error 127
make: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings
However, if I go out to the shell and run
"make" -j 1 -f "Hello_wsp.mk"
everything builds just fine.
I see that the internal build is running /bin/sh while I am running bash.
What do I need to do to get CodeLite to build?
-Stevo
I am just getting started using CodeLite. I want to use it to create/debug ARM code for Beagleboard. I have set up my compiler and project settings and looking at the auto-generated makefiles, everything seems great. However, when I build the project in CodeLite, I get the following:
----------Build Started--------
"make" -j 1 -f "Hello_wsp.mk"
----------Building project:[ Hello - Debug ]----------
/bin/sh: arm-none-linux-gnueabi-gcc: not found
arm-none-linux-gnueabi-gcc -c "/home/stevo/Projects/Hello/main.c" -g -o ./Debug/main.o "-I." "-I."
make[1]: *** [Debug/main.o] Error 127
make: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings
However, if I go out to the shell and run
"make" -j 1 -f "Hello_wsp.mk"
everything builds just fine.
I see that the internal build is running /bin/sh while I am running bash.
What do I need to do to get CodeLite to build?
-Stevo