This is the mail archive of the mailing list for the glibc project.

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: cross compiling does not work

On Sat, Oct 12, 2002 at 09:18:16PM +0200, Felix von Leitner wrote:
> >Submitter-Id:	net
> >Originator:	Felix von Leitner
> >Organization:
> >Confidential:	no
> >Synopsis:	cross compiling fails
> >Severity:	critical
> >Priority:	high
> >Category:	libc
> >Class:		sw-bug
> >Release:	libc-2.3
> >Environment:
> Host type: i686-pc-linux-gnulibc1
> System: Linux beholder 2.4.19 i686 unknown unknown GNU/Linux
> Architecture: i686
> Addons: linuxthreads
> Build CFLAGS: -pipe -Os
> Build CC: alpha-linux-gcc
> Compiler version: 3.2
> Kernel headers: 2.4.19
> Symbol versioning: yes
> Build static: yes
> Build shared: yes
> Build pic-default: no
> Build profile: no
> Build omitfp: no
> Build bounded: no
> Build static-nss: no
> >Description:
> 	configure merges the i386 sysdeps and not the alpha sysdeps and
> 	then yields tons of regparm warnings and fails after a few
> 	seconds with compile errors.
> >How-To-Repeat:
> 	CC="alpha-linux-gcc" ../glibc-2.3/configure
> 	--prefix=/opt/cross/alpha-linux --target=alpha-linux
> 	--disable-static --disable-profile --enable-add-ons make

Don't use --target=, use --host=.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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