Author Topic: Linux: Problem redirecting standard output in post build steps  (Read 5161 times)

Offline RAOG

  • Single posting newcomer
  • *
  • Posts: 3
  • Spiral Out
    • My blog
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
« Last Edit: May 18, 2016, 10:47:19 pm by RAOG »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Linux: Problem redirecting standard output in post build steps
« Reply #1 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.
(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!]

Offline RAOG

  • Single posting newcomer
  • *
  • Posts: 3
  • Spiral Out
    • My blog
Re: Linux: Problem redirecting standard output in post build steps
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Linux: Problem redirecting standard output in post build steps
« Reply #3 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.
(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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Linux: Problem redirecting standard output in post build steps
« Reply #4 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Linux: Problem redirecting standard output in post build steps
« Reply #5 on: May 20, 2016, 07:40:26 pm »
I just  uploaded 10850 to the repo and (try to) build 10854 currently.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Linux: Problem redirecting standard output in post build steps
« Reply #6 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.

Offline RAOG

  • Single posting newcomer
  • *
  • Posts: 3
  • Spiral Out
    • My blog
Re: Linux: Problem redirecting standard output in post build steps
« Reply #7 on: May 28, 2016, 10:28:59 pm »
It´s working now  ;D