| 197 | | === Compiler and Linker === |
| 198 | | |
| 199 | | **Debug-ARM825 and Release-ARM825 build configurations** |
| 200 | | |
| 201 | | If properties sheet has a "Cross Settings" section set: |
| 202 | | |
| 203 | | Prefix: **aarch64-none-linux-gnu-** |
| 204 | | |
| 205 | | ||=Tool Settings=||=Command=|| |
| 206 | | ||Cross G++ Compiler||g++|| |
| 207 | | ||Cross GCC Compiler ,,1,,||gcc|| |
| 208 | | ||Cross G++ Linker||g++|| |
| 209 | | ||Cross GCC Assembler ,,1,,||as|| |
| 210 | | |
| 211 | | ,,1,, "Cross GCC Compiler" and "Cross GCC Assembler" items may not be present in all projects. |
| 212 | | |
| 213 | | If properties sheet does not have "Cross Settings" section: |
| 214 | | |
| 215 | | ||=Tool Settings=||=Command=|| |
| 216 | | ||GCC C++ Compiler||aarch64-none-linux-gnu-g++|| |
| 217 | | ||GCC C Compiler ,,1,,||aarch64-none-linux-gnu-gcc|| |
| 218 | | ||GCC C++ Linker||aarch64-none-linux-gnu-g++|| |
| 219 | | ||GCC Assembler ,,1,,||aarch64-none-linux-gnu-as|| |
| 220 | | |
| 221 | | ,,1,, "GCC C Compiler" and "GCC Assembler" items may not be present in all projects. |
| 222 | | |
| 223 | | === Preprocessor === |
| 224 | | |
| 225 | | **Debug-ARM825 build configuration** |
| 226 | | ||=Defined symbols=||=Description=|| |
| 227 | | ||DEBUG|| || |
| 228 | | ||ARM64=1|| || |
| 229 | | |
| 230 | | **Release-ARM825 build configuration** |
| 231 | | ||=Defined symbols=||=Description=|| |
| 232 | | ||ARM64=1|| || |
| 233 | | |
| 234 | | === Includes === |
| 235 | | |
| 236 | | **Debug-ARM825 and Release-ARM825 build configurations** |
| 237 | | |
| 238 | | ||=Includes=||=Description=|| |
| 239 | | ||"${workspace_loc:/lib825ev/inc}" ,,1,,||Main 825 library|| |
| 240 | | ||"${workspace_loc:/lib825lang/inc}" ,,2,,||825 Multi language|| |
| 241 | | ||"${workspace_loc:/lib825sql/inc}" ,,3,,||825 SQLite|| |
| 242 | | ||"${workspace_loc:/lib825db/inc}" ,,4,,||825 SQLite/MySQL|| |
| 243 | | ||/opt/arm64include|| || |
| 244 | | |
| 245 | | ,,1,, Older apps may use //lib825// instead of //lib825ev//. In this case use "${workspace_loc:/lib825/inc}" Some older apps that use //lib825// also use //libapp//. In this case the additional include path "${workspace_loc:/libapp/inc}" will be needed. |
| 246 | | |
| 247 | | ,,2,, //825lang// is used by newer apps. This is not needed for recompile of older apps. |
| 248 | | |
| 249 | | ,,3,, Older recompiled apps may instead use //sql// or //sql3_7_9//. If it is //sql// it is recommended to change it to use //sql3_7_9//. To use //sql3_7_9// library change include path "${workspace_loc:/libsql3_7_9/inc}". |
| 250 | | |
| 251 | | ,,4,, Newer apps may be updated to use //lib825db// instead of //lib825sql//. //lib825db// use will require code changes, but allows for support of SQLite and MySQL databases using mostly common code. Refer to [wiki:Docs/Prog/Manual/ApplicationLibraries/lib825db lib825db] |
| 252 | | |
| 253 | | === Libraries === |
| 254 | | |
| 255 | | **Debug-ARM825 and Release-ARM825 build configurations** |
| 256 | | |
| 257 | | ||= Library =||= Description =|| |
| 258 | | ||825ev ,,1,,||Main 825 library|| |
| 259 | | ||825lang ,,2,,||825 Multi language|| |
| 260 | | ||825sql ,,3,,||825 SQLite|| |
| 261 | | ||825db ,,4,,||825 SQLite/MySQL|| |
| 262 | | ||sqlite3 ,,3,,||SQLite|| |
| 263 | | ||mysqlclient ,,4,,||MySQL|| |
| 264 | | ||${UI_LIBS}|| || |
| 265 | | ||${CAIRO_LIBS}|| || |
| 266 | | ||${GLIB_LIBS}|| || |
| 267 | | ||${PRT_LIBS} ,,5,,|| || |
| 268 | | |
| 269 | | ,,1,, Older apps may use //825// instead of //825ev//. Some older apps that use //825// also use //app//. In this case the additional library //app// will be needed. |
| 270 | | |
| 271 | | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| 272 | | |
| 273 | | ,,3,, For newer apps it is preferred to use //825sql// and //sqlite3// for dynamically linked SQLite shared object that is already on 825 Gen2. Older recompiled apps may use //sql3_7_9// instead of //825sql// and remove //sqlite3// line. //sql3_7_9// is statically linked and includes the //sqlite3// library. |
| 274 | | |
| 275 | | ,,4,, New apps may use //825db//, //sqlite3//, and //mysqlclient// instead of //825sql//. This will require code changes, but offers ability to make apps support SQLite or MySQL with common code. Refer to [wiki:Docs/Prog/Manual/ApplicationLibraries/lib825db lib825db] |
| 276 | | |
| 277 | | ,,5,, The development VM may need to be updated to have the //PRT_LIBS// environment variable. Refer to [wiki:Docs/825gen2/Dev/DevVMTechnical VM technical information] |
| 278 | | [[br]] |
| 279 | | |
| 280 | | **Debug-ARM825 build configuration** |
| 281 | | |
| 282 | | ||=Library search path=|| |
| 283 | | ||${workspace_loc:/lib825ev/Debug-ARM825} ,,1,,|| |
| 284 | | ||${workspace_loc:/lib825lang/Debug-ARM825} ,,2,,|| |
| 285 | | ||${workspace_loc:/lib825sql/Debug-ARM825} ,,3,,|| |
| 286 | | ||${workspace_loc:/lib825db/Debug-ARM825} ,,4,,|| |
| 287 | | ||/opt/arm64lib|| |
| 288 | | |
| 289 | | ,,1,, Older apps may use //lib825// instead of //lib825ev//. In this case use search path: ${workspace_loc:/lib825/Debug-ARM825} Some older apps that use //lib825// also use //libapp//. In this case the additional library search path ${workspace_loc:/libapp/Debug-ARM825} will be needed. |
| 290 | | |
| 291 | | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| 292 | | |
| 293 | | ,,3,, If //sql3_7_9// library is used change search path to "${workspace_loc:/libsql3_7_9/Debug-ARM825}". |
| 294 | | |
| 295 | | ,,4,, If using //lib825db// specify this path instead of the //lib825sql// path. |
| 296 | | |
| 297 | | **Release-ARM825 build configuration** |
| 298 | | |
| 299 | | ||= Library search path =|| |
| 300 | | ||${workspace_loc:/lib825ev/Release-ARM825} ,,1,,|| |
| 301 | | ||${workspace_loc:/lib825lang/Release-ARM825} ,,2,,|| |
| 302 | | ||${workspace_loc:/lib825sql/Release-ARM825} ,,3,,|| |
| 303 | | ||${workspace_loc:/lib825db/Release-ARM825} ,,4,,|| |
| 304 | | ||/opt/arm64lib|| |
| 305 | | |
| 306 | | ,,1,, Older apps may use //lib825// instead of //lib825ev//. In this case use search path: ${workspace_loc:/lib825/Release-ARM825} Some older apps that use //lib825// also use //libapp//. In this case the additional library search path ${workspace_loc:/libapp/Release-ARM825} will be needed. |
| 307 | | |
| 308 | | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| 309 | | |
| 310 | | ,,3,, If //sql3_7_9// library is used change search path to "${workspace_loc:/libsql3_7_9/Release-ARM825}". |
| 311 | | |
| 312 | | ,,4,, If using //lib825db// specify this path instead of the //lib825sql// path. |
| 313 | | |