Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions gcc/newlib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ cd build-gcc
$SRC_DIR/gcc/configure \
\
--prefix=$PREFIX \
--program-prefix=$TARGET-newlib- \
--program-prefix=$TARGET- \
\
--with-gmp=$CONDA_PREFIX \
--with-mpfr=$CONDA_PREFIX \
Expand Down Expand Up @@ -170,7 +170,6 @@ ls -l $PREFIX/bin/$TARGET-newlib-*
cd ..

$PREFIX/bin/$TARGET-gcc --version
$PREFIX/bin/${TOOLCHAIN_ARCH}-unknown-elf-gcc --version
$PREFIX/bin/$TARGET-newlib-gcc --version

echo $($PREFIX/bin/$TARGET-newlib-gcc --version 2>&1 | head -1 | sed -e"s/$TARGET-gcc (GCC) //")
7 changes: 3 additions & 4 deletions gcc/newlib/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,18 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- make
# Arch specific
- binutils-{{ environ.get('TOOLCHAIN_ARCH') }}-elf
- gcc-{{ environ.get('TOOLCHAIN_ARCH') }}-elf-nostdc {{ version }}.*
host:
# These are taken from the output of the configure scripts
- gmp >=4.3.2
- mpfr >=2.4.2
- mpc >=0.8.1
- isl >=0.15.0
- cloog
# Arch specific
- binutils-{{ environ.get('TOOLCHAIN_ARCH') }}-elf
- gcc-{{ environ.get('TOOLCHAIN_ARCH') }}-elf-nostdc {{ version }}.*
run:
- binutils-{{ environ.get('TOOLCHAIN_ARCH') }}-elf
- gcc-{{ environ.get('TOOLCHAIN_ARCH') }}-elf-nostdc {{ version }}.*

about:
home: https://gcc.gnu.org/
Expand Down
4 changes: 2 additions & 2 deletions gcc/newlib/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ set +x
set +e

TARGET=${TOOLCHAIN_ARCH}-elf
GCC=$TARGET-newlib-gcc
GXX=$TARGET-newlib-g++
GCC=$TARGET-gcc
GXX=$TARGET-g++
OBJDUMP=$TARGET-objdump

case "${TOOLCHAIN_ARCH}" in
Expand Down