Post-Build Step [message #185571] |
Wed, 21 February 2007 11:08  |
Eclipse User |
|
|
|
Originally posted by: jonathan.orditz.selectron.ch
Hi,
I want to use the Post-Build Step in order to modify some things on my
executable.
To make these changes I need to call different tools, but I can only write
one line in the Post-Build Step ! So the question: it is possible to write
more than one line for the Post-Build Step:
Command1.exe
Command2.exe, etc...
I have tried to call a batch File but then the ${variables} are not
replaced by their values...
Could someone help me to solve this problem ?
Thanks in advance...
Jonathan
|
|
|
|
|
|
|
|
|
|
|
Re: Post-Build Step [message #186017 is a reply to message #186011] |
Mon, 26 February 2007 08:25   |
Eclipse User |
|
|
|
Originally posted by: dmsubs.NOSPAM.consertum.com
Jonathan,
I too use XP, but I am using the make from unxutils
(http://unxutils.sourceforge.net).
All 3 of my commands are executed correctly.
I strongly suspect it is your make utility. Try the unxutils version (you will
need make.exe, sh.exe echo.exe and rm.exe from unxutils)
--
Derek
jonathan wrote:
> Hi Derek,
>
> I am under Windows XP with MinGW32 (newest Version).
> Do you tried 3 different commands which write three different texts in a
> file ?
> You will see that only the first command is executed properly and the
> other commands are "ignored".
>
> I do not know if this comes from my platform but I do not think so...
>
> I am waiting for your answer...
>
> Many thanks !
>
> Jonathan
>
>
>
> Derek Morris wrote:
>
>> in the generated makefile, I have:
>
>> post-build:
>> command1 ; command2 ; command 3 ...
>
>> That is, a single line, semi-colon separated, exactly as I typed it in.
>
>> This is why I am asking which platform, which make etc. You might have
>> a platform or a make that does not like that form.
>
>
>
|
|
|
|
Re: Post-Build Step [message #186046 is a reply to message #186039] |
Mon, 26 February 2007 10:17  |
Eclipse User |
|
|
|
Originally posted by: dmsubs.NOSPAM.consertum.com
AFAIK, in the past, Eclipse has been tested with Cygwin and associated tools. I
understand that is changing with CDT4.0 as Cygwin is becoming less tolerant of
Windows-isms. I think testing with other makes is dependent on users.
Anyway, I'm glad you're now going. Glad to be of assistance.
--
Derek
Jonathan wrote:
> Derek,
>
> I used your UnxUtils tools and now it works.
> But do you know the differences between MinGW32 and the Make utility
> from UnxUtils ? Is Eclipse always tested with UnxUtils ? Or also with
> Cygwin, MinGW32, etc... ?
>
> I hope I will not have other problems using UnxUtils Make that I did not
> had with MinGW32...
>
> Many Thanks for your help and advices !
>
> Best regards,
>
> Jonathan
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05299 seconds