Chris Liechti wrote:
It would be great when some of you could take the time and test this
installer and give feedback. In a test project I noticed code changes,
and it got smaller, but i did not yet fully checked that everything
still runs as expected.
1) text files (sources, linker scripts, readme) need line ending
conversion before generating windows package. Readme file, which appears
in windows notepad just after installation looks curiously.
2)make.exe requires cygintl-8.dll, which is not included to installer.
3)constructors/destructors jf staitc not called from startup code (as in
previous version, needs libmspgcc.S fixes).
4) --fdata-sections generates internal compiler error. I think it must
generate message that --fdata-sections not supported.
5) uninstall does not delete root folder (c:/mspgcc).
6)--ffunction-sections with --gc-sections causes all code to be removed
from output file. Needs corrections of linker scripts:
.vectors :
{
PROVIDE (__vectors_start = .) ;
*(.vectors*)
KEEP(*(.vectors*))
also, KEEP() must be added to all .initX, .finiX, .ctors and .dtors
sections.
7) I think liker scripts can be simplified by repalcing
.data : AT (ADDR (.text) + SIZEOF (.text))
{
.........
} > data
with
.data
{
.........
} > data AT > text
I think I can make a patch to fix linker scripts if required.
Regards,
Sergey.