Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Post-build steps Command objdump direct to file
Post-build steps Command objdump direct to file [message #1844066] Tue, 31 August 2021 02:34 Go to next message
Eclipse UserFriend
I use internel builder in eclipse, then I put "objdump.exe a.elf > a.dump" in post-build steps command, the contents of disassemble just appear in CDT build console,but not redirect to file. later i use "objdump.exe a.elf 2&>1 | tee a.dump",but it still not work as I expected.
It is a lack of CDT?
How can I redirect objdump to file in internal builder after build finished?
Help!!!

[Updated on: Wed, 01 September 2021 05:36] by Moderator

Re: Post-build steps Command objdump direct to file [message #1844103 is a reply to message #1844066] Wed, 01 September 2021 08:31 Go to previous message
Eclipse UserFriend
The internal builder may not be using the shell and you are using a shell feature.
Try specifying the command to be executed with a shell.

In Linux, that would be something like: bash -c "objdump.exe a.elf > a.dump"
Windows cmd.exe has similar capability but I don't remember the option (maybe /c ?)

[Updated on: Wed, 01 September 2021 08:33] by Moderator

Previous Topic:Configuring Eclipse for cross compiling AD 2012 version ?
Next Topic:Indexing problem after debugging
Goto Forum:
  


Current Time: Tue Jul 08 19:28:45 EDT 2025

Powered by FUDForum. Page generated in 0.03950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top