fxBoot/tests/symboltest/compilation.sh

8 lines
322 B
Bash

#! /usr/bin/bash
#non#sh-elf-gcc -nostdlib -m3 -mb -mrenesas -ffreestanding -c test.c -o test.o -DFXCG50
# @note: -mrenesas change the calling convention of varaiodic arguments
sh-elf-gcc -fPIE -nostdlib -m3 -mb -ffreestanding -c test.c -o test.o -DFXCG50
sh-elf-ld -pie test.o -o dyntest -L. -lgint-cg-dyn -T linker.ld