Reply by Yochum, William September 9, 20032003-09-09
Maxime,
 
Yeah, I had this problem.  Couldn't come up with a real integrated solution, but I did define a menu entry that ran a batch file and did what I wanted it to do.  I also mapped the menu entry to a button.
 
My build process is now: 1) link normally, 2) click the special button.
 
If you're not familar with it, it a may take a little experimentation.
 
If you haven't already done so, read up on "Customizing the IDE".  In V4.1, there was a selection under the EDIT menu, labeled "Commands and Key Bindings".  Selecting this caused a "Customize IDE Commands" window to appear.  I suspect there is something similar in the current version.
 
Here's how it works in V4.1:
In the "Customize IDE Commands" window, you select a menu heading where you want the new command to appear, and click New command.  You then fill in the name of the New Command, fill out the fields for "Execute" and "Arguments", and check the "Appears in Menus" box.  I run under Windows NT. The  Execute field is "cmd.exe"; the Arguments  field is "/c %projectFileDir\mybatch.bat".  Don't forget to click the Save button or the changes won't take.
 
Creating the button is accomplished by dragging the icon for new command to the menu bar.
 
Hope this helps.
 
-- Bill

William C. Yochum               Microwave Data Systems Inc.
Principal Eng./Software         175 Science Parkway
Phone: (585) 242-8319           Rochester, NY 14620
FAX:   (585) 241-5590           USA

 
 
 -----Original Message-----
From: max_mont [mailto:m...@yahoo.fr]
Sent: Tuesday, September 09, 2003 10:24 AM
To: m...@yahoogroups.com
Subject: Re: [motoroladsp] codewarrior postlinker

Hi,

Thanks for your help but you don't solve my problem.

In fact, I'd just like to execute a bat file to rename the elf
generated file with the current date.

Have you got an idea ???

Thanks in advance.

Bye.

Maxime.

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.


Reply by Hong Ye September 9, 20032003-09-09
There are no postlinkers shipped with the Hawk products. So it's impossible to
run a .bat file after linking without writing a post linker that would do just
that.

Hong max_mont <> wrote:
Hi,

Thanks for your help but you don't solve my problem.

In fact, I'd just like to execute a bat file to rename the elf
generated file with the current date.

Have you got an idea ???

Thanks in advance.

Bye.

Maxime.
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3 ---------------------------------



Reply by max_mont September 9, 20032003-09-09
Hi,

Thanks for your help but you don't solve my problem.

In fact, I'd just like to execute a bat file to rename the elf
generated file with the current date.

Have you got an idea ???

Thanks in advance.

Bye.

Maxime.




Reply by Hong Ye September 8, 20032003-09-08
CodeWarrior IDE for DSP56800 doesn't reqire a post-linker, so you can only choose "None" in the target settings panel.
 
Some other build targets have post-linkers that perform additional work, such as data-format conversion, on the final executable file. For instance, CodeWarrior for StarCore has post-linker option SC100 ELF to LOD.
 
Hope it helps
 
Hong 

max_mont <m...@yahoo.fr> wrote:
Hi,

Do you know how we could set an option in a project to add a command
in the postlinker panel.
I try it but the panel is disable : I just can select "NONE".

Thanks in advance for your help.

See you.

Maxime.


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.



Reply by max_mont September 8, 20032003-09-08
Hi,

Do you know how we could set an option in a project to add a command
in the postlinker panel.
I try it but the panel is disable : I just can select "NONE".

Thanks in advance for your help.

See you.

Maxime.