Code::Blocks Forums

User forums => Help => Topic started by: BrianSidebotham on May 22, 2007, 04:38:01 pm

Title: Post operation pipe to file not working
Post by: BrianSidebotham on May 22, 2007, 04:38:01 pm
Hi guys,

If I execute
Code
arm-elf-objdump -h -S test.elf >> test.lss

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
Title: Re: Post operation pipe to file not working
Post by: Biplab on May 22, 2007, 05:10:58 pm
Issue the following command.
Code
cmd.exe /C "arm-elf-objdump -h -S test.elf >> test.lss"

Regards,

Biplab
Title: Re: Post operation pipe to file not working
Post by: BrianSidebotham on May 22, 2007, 07:13:17 pm
Ah ha, Thankyou!