| | 1 | == Project Settings Reference == |
| | 2 | |
| | 3 | === Compiler and Linker === |
| | 4 | |
| | 5 | **Debug-ARM825 and Release-ARM825 build configurations** |
| | 6 | |
| | 7 | If properties sheet has a "Cross Settings" section set: |
| | 8 | |
| | 9 | Prefix: **aarch64-none-linux-gnu-** |
| | 10 | |
| | 11 | ||=Tool Settings=||=Command=|| |
| | 12 | ||Cross G++ Compiler||g++|| |
| | 13 | ||Cross GCC Compiler ,,1,,||gcc|| |
| | 14 | ||Cross G++ Linker||g++|| |
| | 15 | ||Cross GCC Assembler ,,1,,||as|| |
| | 16 | |
| | 17 | ,,1,, "Cross GCC Compiler" and "Cross GCC Assembler" items may not be present in all projects. |
| | 18 | |
| | 19 | If properties sheet does not have "Cross Settings" section: |
| | 20 | |
| | 21 | ||=Tool Settings=||=Command=|| |
| | 22 | ||GCC C++ Compiler||aarch64-none-linux-gnu-g++|| |
| | 23 | ||GCC C Compiler ,,1,,||aarch64-none-linux-gnu-gcc|| |
| | 24 | ||GCC C++ Linker||aarch64-none-linux-gnu-g++|| |
| | 25 | ||GCC Assembler ,,1,,||aarch64-none-linux-gnu-as|| |
| | 26 | |
| | 27 | ,,1,, "GCC C Compiler" and "GCC Assembler" items may not be present in all projects. |
| | 28 | |
| | 29 | === Preprocessor === |
| | 30 | |
| | 31 | **Debug-ARM825 build configuration** |
| | 32 | ||=Defined symbols=||=Description=|| |
| | 33 | ||DEBUG|| || |
| | 34 | ||ARM64=1|| || |
| | 35 | |
| | 36 | **Release-ARM825 build configuration** |
| | 37 | ||=Defined symbols=||=Description=|| |
| | 38 | ||ARM64=1|| || |
| | 39 | |
| | 40 | === Includes === |
| | 41 | |
| | 42 | **Debug-ARM825 and Release-ARM825 build configurations** |
| | 43 | |
| | 44 | ||=Includes=||=Description=|| |
| | 45 | ||"${workspace_loc:/lib825ev/inc}" ,,1,,||Main 825 library|| |
| | 46 | ||"${workspace_loc:/lib825lang/inc}" ,,2,,||825 Multi language|| |
| | 47 | ||"${workspace_loc:/lib825sql/inc}" ,,3,,||825 SQLite|| |
| | 48 | ||"${workspace_loc:/lib825db/inc}" ,,4,,||825 SQLite/MySQL|| |
| | 49 | ||/opt/arm64include|| || |
| | 50 | |
| | 51 | ,,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. |
| | 52 | |
| | 53 | ,,2,, //825lang// is used by newer apps. This is not needed for recompile of older apps. |
| | 54 | |
| | 55 | ,,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}". |
| | 56 | |
| | 57 | ,,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] |
| | 58 | |
| | 59 | === Libraries === |
| | 60 | |
| | 61 | **Debug-ARM825 and Release-ARM825 build configurations** |
| | 62 | |
| | 63 | ||= Library =||= Description =|| |
| | 64 | ||825ev ,,1,,||Main 825 library|| |
| | 65 | ||825lang ,,2,,||825 Multi language|| |
| | 66 | ||825sql ,,3,,||825 SQLite|| |
| | 67 | ||825db ,,4,,||825 SQLite/MySQL|| |
| | 68 | ||sqlite3 ,,3,,||SQLite|| |
| | 69 | ||mysqlclient ,,4,,||MySQL|| |
| | 70 | ||${UI_LIBS}|| || |
| | 71 | ||${CAIRO_LIBS}|| || |
| | 72 | ||${GLIB_LIBS}|| || |
| | 73 | ||${PRT_LIBS} ,,5,,|| || |
| | 74 | |
| | 75 | ,,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. |
| | 76 | |
| | 77 | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| | 78 | |
| | 79 | ,,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. |
| | 80 | |
| | 81 | ,,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] |
| | 82 | |
| | 83 | ,,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] |
| | 84 | [[br]] |
| | 85 | |
| | 86 | **Debug-ARM825 build configuration** |
| | 87 | |
| | 88 | ||=Library search path=|| |
| | 89 | ||${workspace_loc:/lib825ev/Debug-ARM825} ,,1,,|| |
| | 90 | ||${workspace_loc:/lib825lang/Debug-ARM825} ,,2,,|| |
| | 91 | ||${workspace_loc:/lib825sql/Debug-ARM825} ,,3,,|| |
| | 92 | ||${workspace_loc:/lib825db/Debug-ARM825} ,,4,,|| |
| | 93 | ||/opt/arm64lib|| |
| | 94 | |
| | 95 | ,,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. |
| | 96 | |
| | 97 | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| | 98 | |
| | 99 | ,,3,, If //sql3_7_9// library is used change search path to "${workspace_loc:/libsql3_7_9/Debug-ARM825}". |
| | 100 | |
| | 101 | ,,4,, If using //lib825db// specify this path instead of the //lib825sql// path. |
| | 102 | |
| | 103 | **Release-ARM825 build configuration** |
| | 104 | |
| | 105 | ||= Library search path =|| |
| | 106 | ||${workspace_loc:/lib825ev/Release-ARM825} ,,1,,|| |
| | 107 | ||${workspace_loc:/lib825lang/Release-ARM825} ,,2,,|| |
| | 108 | ||${workspace_loc:/lib825sql/Release-ARM825} ,,3,,|| |
| | 109 | ||${workspace_loc:/lib825db/Release-ARM825} ,,4,,|| |
| | 110 | ||/opt/arm64lib|| |
| | 111 | |
| | 112 | ,,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. |
| | 113 | |
| | 114 | ,,2,, //825lang// is used by newer 825 Gen2 apps. This is not needed for recompile of older apps. |
| | 115 | |
| | 116 | ,,3,, If //sql3_7_9// library is used change search path to "${workspace_loc:/libsql3_7_9/Release-ARM825}". |
| | 117 | |
| | 118 | ,,4,, If using //lib825db// specify this path instead of the //lib825sql// path. |
| | 119 | |