User forums > Help

Post operation pipe to file not working

(1/1)

BrianSidebotham:
Hi guys,

If I execute

--- Code: ---arm-elf-objdump -h -S test.elf >> test.lss

--- End code ---

in a normal shell, I end up with the output of objdump as a file. Yet, if I add this as a post operation in codeblocks, the output of objdump goes to the build-log window instead. I then get a message at the end which says:

Warning >> is not an ordinary file

in the build messages window. I don't have the codeblocks source at the moment, so can't go an investigate. But is there a workaround, or a known way to pipe to a file under codeblocks?

Sorry, I meant to say:

Working on Windows XP, c::b SVN 3970

Biplab:
Issue the following command.

--- Code: ---cmd.exe /C "arm-elf-objdump -h -S test.elf >> test.lss"
--- End code ---

Regards,

Biplab

BrianSidebotham:
Ah ha, Thankyou!

Navigation

[0] Message Index

Go to full version