Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:34 Go to next message
tim zhang is currently offline tim zhangFriend
Messages: 1
Registered: August 2021
Junior Member
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 09:36]

Report message to a moderator

Re: Post-build steps Command objdump direct to file [message #1844103 is a reply to message #1844066] Wed, 01 September 2021 12:31 Go to previous message
David VavraFriend
Messages: 1404
Registered: October 2012
Senior Member
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 12:33]

Report message to a moderator

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


Current Time: Mon Nov 29 16:12:46 GMT 2021

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

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

Back to the top