This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: portable build of eglibc


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



Attachment: 120-cross-rpcgen-portable.patch
Description: Binary data

Attachment: 121-cross-rpcgen-portable.patch
Description: Binary data

Attachment: 122-cross-rpcgen-portable.patch
Description: Binary data

Attachment: 123-cross-rpcgen-portable.patch
Description: Binary data

Attachment: 124-cross-zic-portable.patch
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]