building for embedded targets
Benjamin Kosnik
bkoz@redhat.com
Tue Jan 17 18:01:00 GMT 2012
Hey Gaby. Sorry for the delay.
> I can''t remember what our general policy is regarding
> builds that target embedded systems. That is, if someone
> configures with --target=avr, what are we supposed to
> build?
Dunno if that is a valid target, assuming aliases to avr-elf?
Assuming this is a valid target, it will build all languages,
all runtimes that are supported.
> Just libsupc++? or a bit of libstdc++ from
> chapter 18? Based on newlib or based on AVR libc?
To get just libsupc++, use --disable-hosted-libstdcxx at configure time.
To force newlib, use --with-newlib.
Attached are my configure scripts for building arm-eabi and cris-elf,
which are the targets I usually build when testing cross compiles.
best,
benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.bkoz-arm-eabi
Type: application/octet-stream
Size: 201 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120117/67f2e85e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.bkoz-cris-elf
Type: application/octet-stream
Size: 193 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120117/67f2e85e/attachment-0001.obj>
More information about the Libstdc++
mailing list