This is the mail archive of the crossgcc@sources.redhat.com 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: Configuring gcc for a s390 or criss crosscompiler? (was: [PATCH]Add --with-cross configure option to force -DCROSS_COMPILE behavior)


Daniel Jacobowitz wrote:
On Sun, Jun 08, 2003 at 06:38:07PM -0700, Dan Kegel wrote:

Unfortunately, Daniel's trick doesn't work on s390 and cris, which seem
to canonicalize target tuples harder than other targets:

+ /build/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2/gcc-3.3/configure
--target=s390-unknown-linux-gnu --host=s390-host_unknown-linux-gnu
--prefix=/result/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2
--enable-languages=c
--with-local-prefix=/result/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2/s390-
unknown-linux-gnu --enable-threads=no --without-headers --with-newlib
--disable-shared
...
*** --with-headers is only supported when cross compiling


Eh, I guess you're running that on an S/390...

That's the amusing part. I'm not. That was run on an x86 linux system.


I figure I'm just slowly going insane, as promised by the curse of
libstdc++-v3/configure.in.

I think this is a bug and should be fixed in config.sub - ask
config-patches@gnu.org if he (Ben) agrees with us?

OK, thanks. I wonder how anyone ever built a cross-compiler targeting s390 or cris. - Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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