Code::Blocks Forums

User forums => Help => Topic started by: RAOG on May 18, 2016, 08:26:00 pm

Title: Linux: Problem redirecting standard output in post build steps
Post by: RAOG on May 18, 2016, 08:26:00 pm
Hi I'm trying to program an AVR MCU with Codeblocks but i have a problem with this post build step:
Code
avr-objdump -h -S $(TARGET_OUTPUT_FILE) > $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).lss

On the Build log i get this error in spanish (my system language)
Code
avr-objdump: '>': There is no file

If I delete the step line and run it on my terminal its fine and creates the .lss file then i build my project and everything works great, I get de .hex file.

How can I make Codeblocks run this post build step right?
My codeblocks version is 1.30 and my system runs Debian Jessie

PD: Sorry if my english is bad
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: oBFusCATed on May 18, 2016, 11:54:57 pm
What is the build you're using?
Probably you've installed the only nightly that is broken.
This problem should be fixed in trunk and also should work just fine with 16.01.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: RAOG on May 20, 2016, 08:44:00 am
I installed from Jens repository http://apt.jenslody.de/
It says:
Code
Build: Apr 13 2016

But now I know that was a bug and not a configuration problem, maybe I will install the version from Debian Jessie Repository.

Thanks a lot.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: oBFusCATed on May 20, 2016, 09:38:36 am
In the Help -> About dialog you can find the revision. If it it is in the range [10826,10835) then it is broken. You need to install newer or older one.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: Jenna on May 20, 2016, 07:17:44 pm
In the Help -> About dialog you can find the revision. If it it is in the range [10826,10835) then it is broken. You need to install newer or older one.
I will update my repo to latest trunk this evening.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: Jenna on May 20, 2016, 07:40:26 pm
I just  uploaded 10850 to the repo and (try to) build 10854 currently.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: Jenna on May 21, 2016, 11:26:46 am
I just  uploaded 10850 to the repo and (try to) build 10854 currently.
It's in the repo now.
Please test (if possible) and give feedback.
Title: Re: Linux: Problem redirecting standard output in post build steps
Post by: RAOG on May 28, 2016, 10:28:59 pm
It´s working now  ;D