Compiling under different OS with the same compiler version
Asked by
Martin Lang
Hello their,
I was wondering why I get a different .bin file size when I compiling the same project with the same
arm gcc compiler version (both with: 4.8q2) under different Operating Systems?
In my example win and linux.
under win, the resulting .bin file size is 274kb and under linux it is only 254kb. I'm using exactly the same
compiling and linking commands.
I used readelf to get a view more infos, and the .txt section differs quite a bit:
windows: 251kb
linux: 234kb
but I'm note sure about the reasons, so does the .text section size is so much different?
Is it just because of different shared librarys (os)?
thanks for any hints.
cya
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Lang
- Solved:
- Last query:
- Last reply:
To post a message you must log in.