public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Configuring newlib sbrk
@ 2024-06-21  0:28 Damien Towning
  0 siblings, 0 replies; only message in thread
From: Damien Towning @ 2024-06-21  0:28 UTC (permalink / raw)
  To: newlib

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

Hullo everyone. I am doing a build of newlib that targets a RISC-V. I
currently have this config line

./configure --prefix=/xxx/riscv-gnu-toolchain/riscv
--target=riscv32-unknown-elf --with-arch=rv32imaf --with-abi=ilp32f
--disable-linux

Currently I have my own _sbrk stub function configured. However as the
system has got more functional it is now using an axi shared driver and ram
is memory mapped. So I am wondering if I really need to set up my own _sbrk
stub at all? I would rather rely on the Newlib entirely. Can I tell the
configure that I want to use a single threaded implementation of the
sbrk/malloc/free and associated functions? Can I also specify where the
heap_start/heap_end/stack_start is to be found?
-- 
Damien Towning

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-21  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21  0:28 Configuring newlib sbrk Damien Towning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).