News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Linux: Problem redirecting standard output in post build steps

Started by RAOG, May 18, 2016, 08:26:00 PM

Previous topic - Next topic

RAOG

Hi I'm trying to program an AVR MCU with Codeblocks but i have a problem with this post build step:
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)
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

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

RAOG

I installed from Jens repository http://apt.jenslody.de/
It says:
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.

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: 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.
I will update my repo to latest trunk this evening.

Jenna

I just  uploaded 10850 to the repo and (try to) build 10854 currently.

Jenna

Quote from: jens on May 20, 2016, 07:40:26 PM
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.