hi,
Sorry for my poor english.
When building for Armi, Petran tells me there are initialised data.
So I look at the generated map file, but it gives me only a list of object files without a name of a global or static data.
Somebody knows what it means?
Is there a tool or an option to find static and global data?
Thanks a lot for your help.
TiasMa.
In the .map search in the .data section there u will find some
variable names which are global.
So open the .map file in text editor and search for the variable name
or for '.data' and in this section u will find the culprits.
Bye.
--eminemence.
thanks eminemence.
That's what I have done.
But now in the .data section, there is only a listing of object files and there is no more names of variables.
TiasMa
If u have any static variables in any of your fucntions then
remove them and make them const, if they are not modified.
--eminemence.
Nobody knows an option of VisualC++ or Borland BuilderX or gcc, that allows to find all static an d global variables in a project ? 'cause, as I've explained precedently, for my project Petran don't work very well
thanks.
I have finaly found the last satic data in my big project and all is ok now.
Maybe Petran doesn't write the data's name when the data is in a header file of a static library.
Thanks to eminemence,
TiasMa.