Anonymous
Not applicable
Aug 15, 2013
07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
07:39 AM
I have one file in my project that uses the _DATE_ macro to place a date stamp of the last compile into Flash. However, if the file was not changed, it is not compiled automatically. How can I force the recompiling of a selected file everytime a new hex file is built?
9 Replies
Anonymous
Not applicable
Aug 15, 2013
08:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
08:05 AM
Hi ado
How about Clean and Build?
Is it re-compile all?
How about Clean and Build?
Is it re-compile all?
Aug 15, 2013
11:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
11:14 AM
...or do a right-click on the file in the workspace explorer and select "Compile"
Bob
Anonymous
Not applicable
Aug 15, 2013
12:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
12:02 PM
Of course, I can manually force the compilation of the particular file. But that is a manual act, and if it is forgotten (there are several developers) then the resulting image might be unusable. (I cannot explain why that is).
Aug 15, 2013
03:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
03:12 PM
Then use a script to force compile/linker options, and distribute that
to the development team. That way the hex file productuion will always
come from the same directives.
See applicable compiler/linker manual to write the script.
Regards, Dana.
Anonymous
Not applicable
Aug 15, 2013
10:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 15, 2013
10:59 PM
How was the macro value changed? If you change one of the files, it should re-compile the change file when you build the project. Do you meam that you want to re-build automactially after chaning a file?
Anonymous
Not applicable
Aug 16, 2013
01:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2013
01:11 AM
Hi HL
He said ...
there is a DATE macro in file1
when change the file1 that is show correct date
but change file except file1 the build is not show updated date.
that is no help
I wonder handy way but can't find good clue.
He said ...
there is a DATE macro in file1
when change the file1 that is show correct date
but change file except file1 the build is not show updated date.
that is no help
I wonder handy way but can't find good clue.
Anonymous
Not applicable
Aug 16, 2013
02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2013
02:26 AM
I may have miss something here. If there is not change in the macro, changing other files would not re-compile the file with the macro, that I understand.
But there is no change to the value of the macro. so what is the problem?
Anonymous
Not applicable
Aug 16, 2013
02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2013
02:31 AM
Ok, I see, the DATE macro is the current data of the system. He want this to be included in the files that was last change.
Anonymous
Not applicable
Aug 16, 2013
02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2013
02:40 AM
I think ...
If I can change and add to MAKEFILE easily,
Compile the file have DATE macro, unconditionally
But I don know how to modify it.
Pre-compile? Script?
If I can change and add to MAKEFILE easily,
Compile the file have DATE macro, unconditionally
But I don know how to modify it.
Pre-compile? Script?