Code::Blocks Forums
User forums => Help => Topic started by: Joerg on October 24, 2006, 05:09:20 pm
-
Hi,
when I try to compile my ARM project I got the followin build message:
Execution of 'make.exe -f makefile all' in 'W:\ReaderARM7' failed.
Nothing to be done.
I'm sure that there is something 'to be done' but I don't know where
this message is coming from, CodeBlocks or make?
I use the WinARM distribution for crosscompiling not GNUARM,
so I don't need to use mingw.
Is there a debug option where I can see the make calls on console?
Regards,
Joerg
-
Hi,
I had to add the compiler paths to the environment PATH,
so make can find them.
I also found the Code::Blocks debug tab. :D
So this was an easy one.
By
-
Ok need help again, :(
the environment varaibles are not saved.
I have to add my PATH every time I start CB.
CB crashes when I try to save my project with 'save as...'
I use Version 1.0 revision 3126 (2006-10-22 13:31:25) gcc 3.4.5 Windows/unicode,
build from oct 22 2006 under WinXP.
Regards,
-
the environment varaibles are not saved.
I have to add my PATH every time I start CB.
What do you mean? The environment variables of the envvar plugin? Or do you mean additional path's that you can setup in the compiler options? The envvar plugin works very well for me - all the revisions back... Please explain step-by-step what you do.
With regards, Morten.
-
Hi,
I open my project .cbp.
Then, under 'Settings/Environment/Environment Variables' I add
PATH=D:\Programs\WinARM\bin;D:\Programs\WinARM\utils\bin
I do a build, everything works fine.
Then I close my project (maybe save before) and close CB.
When I start CB again and open my project, building doesn't work
because my environment variable is gone.
Maybe I misunderstand the concepts of CB here.
Where should these parameters be stored?
Regards,
-
Then, under 'Settings/Environment/Environment Variables' I add
PATH=D:\Programs\WinARM\bin;D:\Programs\WinARM\utils\bin
This is correct in principle, but a semi-colon in an envvar is not supported (currently, for internal reasons).
Maybe I misunderstand the concepts of CB here.
Where should these parameters be stored?
I'm afraid, yes. To configure the path to the compiler you have to go to Settings -> Compiler and Debugger -> Tab "Programs" -> Point to the base path of the compiler there (D:\Programs\WinARM in your case, "bin" will be added automatically by C::B). Then goto Tab "Additional Path" (on the same tab) -> there you can enter "D:\Programs\WinARM\utils\bin". Notice that for the second you have to add the "bin", too.
With regards, Morten.