targets/XSD_toolchain_gcc
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 07 Dec 2016 19:24:16 +0300
changeset 1596 f5868f866d2b
parent 1478 69fe0b81e951
permissions -rwxr-xr-x
stop PLC before unloading


This fixes segmentation fault if service was quit without stopping it.
It has happened if Beremiz service was quit using taskbar icon or by
closing Beremiz IDE (in case of autostarted local service).

In second case to trigger the bug following step has to be done:
1. Open Beremiz IDE
2. Open project, compile and connect to LOCAL:// runtime
3. Transfer and start the PLC program
4. Open other project without disconneting the PLC runtime
5. Close Beremiz IDE
251
2066d2c65b71 change default linker (ld ) to g++ in XSD for gcc toolchain
greg
parents: 203
diff changeset
     1
2066d2c65b71 change default linker (ld ) to g++ in XSD for gcc toolchain
greg
parents: 203
diff changeset
     2
          <xsd:attribute name="Compiler" type="xsd:string" use="optional" default="gcc"/>
1478
69fe0b81e951 make attribute CFLAGS and LDFLAGS optional and add default empty value
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 621
diff changeset
     3
          <xsd:attribute name="CFLAGS" type="xsd:string" use="optional" default=""/>
621
a3ce93d63832 Default gcc toolchain config now use 'gcc' for linking. Was left accidentally to g++ since old times of wxSVG based SVGUI. Cleaned up gcc parameters when linking
Edouard Tisserant
parents: 251
diff changeset
     4
          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="gcc"/>
1478
69fe0b81e951 make attribute CFLAGS and LDFLAGS optional and add default empty value
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 621
diff changeset
     5
          <xsd:attribute name="LDFLAGS" type="xsd:string" use="optional" default=""/>