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: [PATCH 1 of 3] arch: s390 and 390x glibc patch


On Wednesday 11 November 2009 12:40:28 Harold Grovesteen wrote:
> --- a/scripts/build/libc/glibc.sh	Fri Oct 30 20:08:44 2009 +0100
> +++ b/scripts/build/libc/glibc.sh	Wed Nov 11 09:07:36 2009 -0600
> @@ -152,7 +152,8 @@
>      CT_DoExecLog ALL                                            \
>      "${CT_SRC_DIR}/glibc-${cvs}${CT_LIBC_VERSION}/configure"    \
>          --build="${CT_BUILD}"                                   \
> -        --host="${CT_TARGET}"                                   \
> +        --host="${CT_BUILD}"                                    \
> +        --target="${CT_TARGET}"                                 \

not only is there no --target option for glibc, but it doesnt make any sense 
for there to be one.  the C library doesnt generate code.

setting the --host to the build system is also blatantly wrong.  i dont see 
why you need either of these changes -- i cross-compile s390/s390x just fine 
using the same method as all other targets.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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