Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-29 Thread Sam Ellicott
Thanks for the feedback! I was pretty busy with work this past week, so it has taken me until now to update the patch. -Sam Soli Deo Gloria From 931a146591ecc5e8bb45b5518a39e7fee92924f0 Mon Sep 17 00:00:00 2001 From: Sam Ellicott Date: Thu, 29 Jul 2021 22:36:53 -0400 Subject: [PATCH] tccdef.h addi

Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-21 Thread Michael Matz
Hello, On Mon, 19 Jul 2021, Sam Ellicott wrote: I updated my patch to only include the bare minimum definitions required to get tcc to compile the newlib stdint.h header. Thank you for the advice on using the config-extra.mak file, that worked perfectly. If this looks okay, then I will push thi

Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-19 Thread Sam Ellicott
I updated my patch to only include the bare minimum definitions required to get tcc to compile the newlib stdint.h header. Thank you for the advice on using the config-extra.mak file, that worked perfectly. If this looks okay, then I will push this change to the mob branch. Thanks, -Sam Ellicott So

Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-19 Thread Sam Ellicott
Thanks for the reply! For clarification, the ultimate goal is to have a tcc cross-compiler for riscv32 (targeting the esp32c3 chip). This is for Charles Lohr's espwebc3 project: https://github.com/cnlohr/espwebc3 I am developing on an Arch Linux machine. As I want cross-compiler support, I am tryin

Re: [Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-19 Thread grischka
Sam Ellicott wrote: Hi everyone, This is my first time using the mailing list/patching an open-source program, so let me know if I am doing something wrong. I was trying to build the riscv version of tcc while using the newlib standard library for riscv provided by GCC and I ran into a couple of

[Tinycc-devel] Errors using riscv64-tcc with gcc/newlib headers

2021-07-18 Thread Sam Ellicott
Hi everyone, This is my first time using the mailing list/patching an open-source program, so let me know if I am doing something wrong. I was trying to build the riscv version of tcc while using the newlib standard library for riscv provided by GCC and I ran into a couple of issues. First, I want