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] |
On Sun, Jun 08, 2003 at 08:40:19PM -0700, Dan Kegel wrote: > 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. Then you're misunderstanding what the suggestion I gave meant. Do you understand what "--host=s390-host_unknown-linux-gnu --target=s390-unknown-linux-gnu" means? It means, build a compiler on i686-linux, which will run on s390-host_unknown-linux-gnu, and target s390-unknown-linux-gnu. I really doubt you want to build that! Just use --target. > >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 > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ------ 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] |