User forums > Help
Creating portable CodeBlocks: linking MinGW
dave.berk:
Thanks, TDragon!
About the second question: anybody knows why there's no variable expension when using new project wizards?
Edit: Got another problem:
--- Code: ----------------- Build: Debug in test ---------------
Compiling: main.c
mingw32-gcc.exe: installation problem, cannot exec `as': No such file or directory
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
--- End code ---
How can I add to the PATH environment variable that CodeBlocks run (and remove it at the end)??
TDragon:
You shouldn't need to make any PATH additions for the sake of MinGW/GCC, but you could always use a batch file. As far as the "cannot exec 'as'" error -- do you have the binutils binaries? Once unpacked, as.exe and friends should reside in both <mingw>/bin and <mingw>/mingw32/bin.
dave.berk:
That did it. Thanks again. Download binutils and everything's working fine.
One question: Does anybody knows how to setup relative projects directory inside the new project wizard?
Navigation
[0] Message Index
[*] Previous page
Go to full version