Home
last modified time | relevance | path

Searched +full:- +full:- +full:set +full:- +full:config (Results 1 – 25 of 27) sorted by relevance

12

/picolibc-latest/newlib/
DREADME1 README for newlib-4.2.0 release
2 (mostly cribbed from the README in the gdb-4.13 release)
7 Prior to the 3.0.0 release, newlib supported both ANSI and K&R-style
20 Unpacking and Installation -- quick overview
23 When you unpack the newlib-4.2.0.tar.gz file, you'll find a directory
24 called `newlib-4.2.0', which contains many files. Interesting ones:
25 COPYING* - License files for the sources
26 README - A common overview of all GNU development projects
27 configure - The build script for configuring the source tree
28 Makefile* - Inputs used by configure to generate the Makefile
[all …]
DHOWTO7 initially-provided sections. Please help by adding as appropriate.)
12 All the documentation for Newlib comes as part of the machine-readable
22 The basic function of makedoc is two-fold. First, it recognizes comments in
26 (makedoc.c is not particularly-well commented.) Another way to see how they
30 libm/common/s_isnan.c ("o+" variable-"bullet" list),
35 produce both on-line information and a printed manual. You can use one of the
36 Info formatting commands to create the on-line version of the documentation
47 when a non-printed manual is produced--such as when info pages are produced.
65 1. Add properly-formatted comments to source file (e.g. src.c);
67 re-generate Makefile.in;
[all …]
DChangeLog-20151 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com>
6 2015-12-21 Freddie Chopin <freddie.chopin@gmail.com>
17 2015-12-17 Anton Kolesov <Anton.Kolesov@synopsys.com>
20 * libc/machine/arc/memcmp-bs-norm.S: Use new GCC defines to detect
23 * libc/machine/arc/memcpy-archs.S: Likewise.
24 * libc/machine/arc/memcpy-bs.S: Likewise.
25 * libc/machine/arc/memcpy.S: Likewise. * libc/machine/arc/memset-archs.S: Likewise.
26 * libc/machine/arc/memset-archs.S: Likewise.
27 * libc/machine/arc/memset-bs.S: Likewise.
30 * libc/machine/arc/strchr-bs-norm.S: Likewise.
[all …]
/picolibc-latest/hello-world/
DREADME.md24 gcc -specs=picolibc.specs
30 example uses Picolibc's semihosting support (`--oslib=semihost`) to
33 gcc -specs=picolibc.specs --oslib=semihost
37 For ARM, QEMU emulates a "mps2-an385" board which has a Cortex-M3
40 arm-none-eabi-gcc -specs=picolibc.specs --oslib=semihost -mcpu=cortex-m3
42 64-bit ARM (aarch64) processors are pretty much the same, so the
43 default target code will run fine on a cortex-a57 processor as
46 aarch64-linux-gnu-gcc -specs=picolibc.specs --oslib-semihost
48 For RISC-V, QEMU lets you specify which CPU core you want, so we'll
49 use something that looks like a SiFive E31 chip. That's a 32-bit
[all …]
Drun-aarch643 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-aarch64"
40 elf=hello-world-aarch64.elf
49 # Set the target machine
51 cpu=cortex-a57
53 $qemu -semihosting-config enable=on -monitor none -serial none -nographic -machine $machine -cpu $c…
Drun-arm3 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-arm"
41 elf=hello-world-arm.elf
50 # Set the target machine
51 machine=mps2-an385,accel=tcg
52 cpu=cortex-m3
54 $qemu -semihosting-config enable=on -monitor none -serial none -nographic -machine $machine -kernel…
Drun-riscv3 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-riscv32"
40 elf=hello-world-riscv.elf
49 # Set the target machine
53 $qemu -semihosting-config enable=on -monitor none -serial none -nographic -machine $machine -cpu $c…
Drun-aarch64++3 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-aarch64"
40 elf=hello-world++-aarch64.elf
42 # Set the target machine
44 cpu=cortex-a57
53 semi=enable=on,chardev=stdio0,arg="test-file"
63 $qemu -chardev $chardev -semihosting-config $semi -monitor $mon -serial $serial -machine $machine -
Drun-riscv++3 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-riscv32"
40 #elf=hello-world-riscv.elf
41 elf=hello-world++-riscv.elf
43 # Set the target machine
54 semi=enable=on,chardev=stdio0,arg="test-file"
64 $qemu -chardev $chardev -semihosting-config $semi -mon $mon -serial $serial -machine $machine -cpu …
/picolibc-latest/doc/
Dprintf.md5 needed by the application. The format-string based interface to
19 that to add --defsym options when linking. This means the preprocessor
20 definition must be set on the command line and not in a file.
25 * Printf uses within picolibc (which are all integer-only) now share
27 integer-only and float versions
30 work even when using integer-only or float printf functions.
32 Because the linker gets --defsym flags for both vfprintf and vfscanf,
35 picolibc.specs includes the --gc-sections linker flag. This causes
39 However, the defsym approach does not work with link-time
49 the picolibc built-time option, `-Dformat-default`, which defaults to
[all …]
/picolibc-latest/.github/workflows/
Dsteps-minsize1 - name: Minsize test
3-v $(readlink -f picolibc):/picolibc -w /picolibc -v $GITHUB_WORKSPACE/.ccache:/root/.ccache $IMAG…
Dsteps-release1 - name: Release test
3-v $(readlink -f picolibc):/picolibc -w /picolibc -v $GITHUB_WORKSPACE/.ccache:/root/.ccache $IMAG…
Dsteps-cmake1 - name: CMake test
3-v $(readlink -f picolibc):/picolibc -w /picolibc -v $GITHUB_WORKSPACE/.ccache:/root/.ccache $IMA…
Dlinux.yml6 - main
9 - main
14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15 cancel-in-progress: true
22 IMAGE_FILE: dockerimg-linux.tar.zst
23 IMAGE: picolibc-linux
24 PACKAGES_FILE: picolibc/.github/linux-packages.txt
25 EXTRA_FILE: picolibc/.github/linux-files.txt
28 cache-maker:
29 runs-on: ubuntu-latest
[all …]
Dzephyr.yml6 - main
9 - main
14 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15 cancel-in-progress: true
18 # .github/do-zephyr --buildtype release
22 DOCKERFILE: picolibc/.github/Dockerfile-zephyr
23 IMAGE_FILE: dockerimg-zephyr.tar.zst
25 PACKAGES_FILE: picolibc/.github/zephyr-packages.txt
26 EXTRA_FILE: picolibc/.github/zephyr-files.txt
29 cache-maker:
[all …]
/picolibc-latest/newlib/libc/machine/xtensa/
Dmeson.build2 # SPDX-License-Identifier: BSD-3-Clause
46 conf_data.set('_XTENSA_HAVE_CONFIG_CORE_ISA_H',
47 cc.check_header('xtensa/config/core-isa.h'),
48 description: 'Xtensa toolchain includes core-isa.h')
/picolibc-latest/scripts/
Drun-m68k3 # SPDX-License-Identifier: BSD-3-Clause
43 qemu="qemu-system-m68k"
47 cmdline="program-name"
53 --)
57 -s|"")
98 echo CPU set to $CPU
106 -chardev stdio,id=stdio0,mux=on \
107 -machine virt \
108 -cpu "$CPU" \
109 -semihosting-config "$semi" \
[all …]
Drun-riscv3 # SPDX-License-Identifier: BSD-3-Clause
37 qemu="qemu-system-riscv32"
47 if command -v readelf >/dev/null 2>/dev/null; then
48 # LLVM-based toolchains readelf produces different output from GNU, so
49 # check --version output first.
50 if readelf --version | grep LLVM >/dev/null; then
51 archstring=$(readelf --arch-specific "$elf" | grep "Value: rv" | cut -d: -f2)
53 archstring=$(readelf --arch-specific "$elf" | grep Tag_RISCV_arch | cut -d: -f2 | tr -d '"')
56 if [ -z "$archstring" ]; then
61 qemu="qemu-system-riscv64"
[all …]
/picolibc-latest/newlib/libc/machine/arm/
Dstrlen-armv7.S1 /* Copyright (c) 2010-2011,2013 Linaro Limited
32 ARMv6T2 or ARMv7E-M, AArch32
84 /* keep config inherited from -march=. */
86 .arch armv7e-m
116 ands tmp1, srcin, #7 /* (8 - bytes) to alignment. */
120 mov result, #-8
122 /* Bytes 0-7. */
127 uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
133 /* Bytes 8-15. */
135 uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
[all …]
Dmemchr.S1 /* Copyright (c) 2010-2011, Linaro Limited
33 This memchr routine is optimised on a Cortex-A9 and should work on
36 match early in a large data set. */
64 // 2011-02-07 david.gilbert@linaro.org
66 // 2011-07-14 david.gilbert@linaro.org
68 // 2011-10-11 david.gilbert@linaro.org
69 // Import from cortex-strings bzr rev 63
82 // NOTE: This ifdef MUST match the one in memchr-stub.c
85 .arch armv8-r
87 .arch armv7-a
[all …]
/picolibc-latest/
DCMakeLists.txt2 # SPDX-License-Identifier: BSD-3-Clause
40 # Set a default build type if none was specified
41 set(default_build_type "MinSizeRel")
45 set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE
52 set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
56 set(CMAKE_SYSTEM_PROCESSOR "aarch64")
59 set(CMAKE_SYSTEM_SUB_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR})
63 set(CMAKE_SYSTEM_PROCESSOR "x86")
77 set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
79 # Set all configure values to defaults for now
[all …]
DREADME.md2 Copyright © 2018-2023 Keith Packard
7 [AVR Libc](https://www.nongnu.org/avr-libc/).
19 from Newlib, none of the GPL-related bits used to build the library
20 are left in the repository, so all of the source code uses BSD-like
21 licenses, a mixture of 2- and 3- clause BSD itself and a variety of
24 There are two files used for testing printf, test/printf-tests.c and
32 license information in the Debian standard machine-readable format. It
33 was generated using the make-copyrights and find-copyright
41 * ARC (32- and 64- bit)
42 * ARM (32- and 64- bit)
[all …]
Dmeson.build2 # SPDX-License-Identifier: BSD-3-Clause
4 # Copyright © 2019-2021 Keith Packard
55 # cc -print-search-dirs
58 foreach _line : run_command(cc.cmd_array() + ['-print-search-dirs'], check : false).stdout().split(…
74 if not get_option('use-stdlib')
75 core_c_args += cc.get_supported_arguments(['-nostdlib'])
120 # Make sure we have meson build support for the machine-specific files
149 multilib_list = get_option('multilib-list')
150 multilib_exclude = get_option('multilib-exclude')
153 enable_picocrt_lib = get_option('picocrt-lib')
[all …]
Dmeson_options.txt2 # SPDX-License-Identifier: BSD-3-Clause
35 option('fast-strcmp', type: 'boolean', value: true,
38 option('have-alias-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
41 option('have-format-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
44 option('have-weak-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
50 option('multilib-list', type: 'array', value: [],
53 option('multilib-exclude', type: 'array', value: [],
56 option('build-type-subdir', type: 'string',
57 description: 'Build-type subdir. Also skips installing .specs file')
65 option('picocrt-enable-mmu', type: 'boolean', value: true,
[all …]
/picolibc-latest/newlib/libc/machine/xtensa/machine/
Dcore-isa.h2 #include <xtensa/config/core-isa.h>
6 * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa
9 * See <xtensa/config/core.h>, which includes this file, for more details.
14 Copyright (c) 1999-2010 Tensilica Inc.
49 /*----------------------------------------------------------------------
51 ----------------------------------------------------------------------*/
53 #define XCHAL_HAVE_BE 0 /* big-endian byte ordering */
59 #define XCHAL_HAVE_DENSITY 1 /* 16-bit instructions */
60 #define XCHAL_HAVE_LOOPS 0 /* zero-overhead loops */
70 #define XCHAL_HAVE_ABSOLUTE_LITERALS 1 /* non-PC-rel (extended) L32R */
[all …]

12