Attempt to get rid of -qrtems

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 27 12:08:18 UTC 2019


Hello,

I would like to get rid of the -qrtems command for normal RTEMS 
applications. The difficulty is that the configuration process to build 
GCC with all the target libraries (libatomic, libstdc++, libgomp, etc.) 
relies on some link time tests which use the crt0.o, libc.a and libm.a. 
The attached patch introduces a new -qrtemsstub command line option 
which is enabled during the GCC target library build. In case this 
option is not present, then the standard RTEMS libraries will be used, 
e.g. librtemscpu.a, librtemsbsp.a, libc.a, etc. For backward 
compatibility the -qrtems option is ignored.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RTEMS-Introduce-qrtemsstub.patch
Type: text/x-patch
Size: 2889 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190627/0c5d896c/attachment.bin>


More information about the devel mailing list