portable build of eglibc

Titus von Boxberg titus@v9g.de
Wed Feb 9 17:59:00 GMT 2011


Am 09.02.2011 um 18:29 schrieb Yann E. MORIN:

> Titus, All,
> 
> On Wednesday 09 February 2011 08:26:59 Titus von Boxberg wrote:
>> I found that the eglibc (at least 2_9/2_10) build is not portable
>> to non-linux systems.
>> The few required patches are about the sunrpc compiler, and the
>> time zone info compiler requiring gettext, and using the gnu
>> specific strpncpy(3).
> 
> - What are those patches changing: build-system or code?
Three code:
- __u_char and the like are not defined, but u_char etc. are
- stpncpy is not available. use strlen+strncpy
- stpcpy is a macro on macos.

two build system:
- use libintl

All patches are only for the host tools.

> - Is eglibc still buildable on Linux afterwards?
yes

Patch files attached for review.

Regards
Titus



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 120-cross-rpcgen-portable.patch
Type: application/octet-stream
Size: 811 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110209/67217e4b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 121-cross-rpcgen-portable.patch
Type: application/octet-stream
Size: 642 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110209/67217e4b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 122-cross-rpcgen-portable.patch
Type: application/octet-stream
Size: 605 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110209/67217e4b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 123-cross-rpcgen-portable.patch
Type: application/octet-stream
Size: 425 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110209/67217e4b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 124-cross-zic-portable.patch
Type: application/octet-stream
Size: 783 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110209/67217e4b/attachment-0004.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list