comparison gcc/ada/doc/gnat_ugn/platform_specific_information.rst @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
217 (if geteuid = 0 then True else raise Program_Error with "must be root"); 217 (if geteuid = 0 then True else raise Program_Error with "must be root");
218 218
219 It gets the effective user id, and if it's not 0 (i.e. root), it raises 219 It gets the effective user id, and if it's not 0 (i.e. root), it raises
220 Program_Error. 220 Program_Error.
221 221
222 .. index:: Linux
223 .. index:: GNU/Linux
224
225 .. _GNU_Linux_Topics:
226
227 GNU/Linux Topics
228 ================
229
230 This section describes topics that are specific to GNU/Linux platforms.
231
232 .. _Required_packages_on_GNU_Linux:
233
234 Required Packages on GNU/Linux
235 ------------------------------
236
237 GNAT requires the C library developer's package to be installed.
238 The name of of that package depends on your GNU/Linux distribution:
239
240 * RedHat, SUSE: ``glibc-devel``;
241 * Debian, Ubuntu: ``libc6-dev`` (normally installed by default).
242
243 If using the 32-bit version of GNAT on a 64-bit version of GNU/Linux,
244 you'll need the 32-bit version of the following packages:
245
246 * RedHat, SUSE: ``glibc.i686``, ``glibc-devel.i686``, ``ncurses-libs.i686``
247 * Debian, Ubuntu: ``libc6:i386``, ``libc6-dev:i386``, ``lib32ncursesw5``
248
249 Other GNU/Linux distributions might be choosing a different name
250 for those packages.
251
222 .. index:: Windows 252 .. index:: Windows
223 253
224 .. _Microsoft_Windows_Topics: 254 .. _Microsoft_Windows_Topics:
225 255
226 Microsoft Windows Topics 256 Microsoft Windows Topics