 RE: Locating Pierre Roth Thank you for your answer ! I finally understood how to deal with code locating... but I face a new problem : My file names are too long ! Therefore my SECTIONS directive in my linker command file is not correct, following error code is returned : *** FATAL ERROR L202: INVALID COMMAND LINE, TOKEN TOO LONG Here is a part of my linker/locator command file :
SECTIONS (?PR?FILE1_TOO_LONG_NAME%FCODE (0x90000), &
?PR?FILE2_TOO_LONG_NAME%FCODE, &
?PR?FILE3_TOO_LONG_NAME%FCODE)
Since I can't rename all file names to make them shorter, I have decide to RENAMACLASS from C compiler. But here again I've got a problem : I wouldn't like to pollute my C source code with #pragmas to keep it portable. So I would like to embed my #pragma directive in an other preprocessor macro such as :
#define CODE_SECTION_NAME(X) #pragma RENAMECLASS (FCODE=X)
... but it does not work since preprocessor only preprocesses C source code once....
So here I am.... no more idea to locate my long named files and to keep my code portable... Any help would be very appreciated ! Thanks a lot ! Pierre |