You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/embox_build_en.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ You can manage the order, in which the modules of system load in configuration.
68
68
69
69
70
70
#### Changing of interface implementation
71
-
Для изменения реализации интерфейса или абстрактного модуля (подробнее об этом -- в разделе «Модульная структура Embox»), нужно просто подключить другой модуль, реализующий данный интерфейс.To change interface implementation (that is the same as abstraction module; see "The modular structure of Embox" section for more details), you need just to add a module of this interface to your configuration.
71
+
To change interface implementation (that is the same as abstraction module; see "The modular structure of Embox" section for more details), you need just to add a module of this interface to your configuration.
72
72
73
73
For example, the abstract module *heap_api*:
74
74
```
@@ -92,23 +92,20 @@ and then to do:
92
92
include embox.mem.heap_simple
93
93
```
94
94
95
-
### Изменение флагов компиляции (отладка, оптимизации)
96
-
Некоторыми флагами компиляции можно управлять. В файле «conf/build.conf» прописаны флаги компиляции.
97
-
Например, флаг оптимизации (флаг, который часто требует изменения):
95
+
### Changing flags of compilation (debugging, optimization)
96
+
You can manage some flags of compilation. The "conf/build.conf" has them. For example, flag of optimization (that often requires to make changes):
98
97
```
99
98
CFLAGS += -O0
100
99
```
101
-
Строчку выше стоит заменить на:
100
+
To build the Embox with optimization 2, you should the line above to the next one:
102
101
```
103
102
CFLAGS += -O2
104
103
```
105
-
для сборки с оптимизацией *O2*.
106
-
107
-
Также важным флагом является флаг *-g* линкера, который добавляет в образ системы секцию с отладочной информацией:
104
+
Also another important flag is the *-g* linker flag, that is the same as adding debugging information in system image:
108
105
```
109
106
LDFLAGS += -N -g
110
107
```
111
-
Его также можно удалить для уменьшения размера, но тогда отладка будет недоступна.
108
+
You can delete this flag for size reduction, but in this case the debugging will be unavailable.
112
109
113
110
## Очистка проекта
114
111
Сборка Embox происходит в несколько этапов. Основные из них это:
0 commit comments