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] |
Hi once again, Ah... You said you are running a sun-solaris computer, so why don't you try to do the following: (do not change 'configure' with vi, simply add all the options on the command line) tar-gunzip the sources into their directories and 'make' them from another. For your gcc-problems... It might be that your system is trying to use it's own assembler and not the one from binutils. So it is best that you add "--with-gnu-as --with-gnu-ld" to make sure it will use the GNU toolchain. It is best that you build a core-gcc first, so you can build those *.a files. (libraries) (please have a look at http://crossgcc.billgatliff.com/ He didn't make it just for fun, but it is actually usefull too :) [prompt$] TARGET_LIBGCC2_CFLAGS=-Dinhibit_libc [prompt$] ../gcc-3.0/configure --target=m68k-coff --prefix=<your directory> --enable-languages=c --with-local-prefix=<your directory>/m68k-coff --without-headers --with-newlib --disable-shared --with-gnu-as --with-gnu-ld [prompt$] make all-gcc install-gcc After that, you build newlib. Finally, after that, you build your full gcc with the generated libraries... At http://crossgcc.billgatliff.com/ you can find a script that does all those things for you... I really suggest you try it, as it will help you a lot. Good luck, I hope you get it working now :) Jan >Then gcc: >cd /my-gcc >/my-gcc/vi configure(change the target(m68k-hp-bsd4.3 and prefix director >(I am not administor) ) >/my-gcc/ ./configure >/my-gcc/make -----Original Message----- From: Vermeulen Jan <Jan.Vermeulen@siemens.atea.be> To: 'Liu Yong' <yliu@newavetech.com>, 'CrossGCC' <crossgcc@sources.redhat.com> Date: Fri, 6 Jul 2001 14:00:43 +0200 Subject: RE: help about cross-compiler > Hello , > > Can you give me your commandlines please? > & What versions you use (binutils, gcc, linux-dist, ..) > > e.g. for binutils: > [/home/jan/source/binbuild/ $] ../binutils-2.10.1/configure > --target=m68k-hp-bsd4.3 --host=sun-solaris-2.6 > > and commands used pre- & post-building your targets. > (like creating symlinks, renaming folders somewhere in the source-tree, > etc) > > Best regards, > Jan > > > -----Original Message----- > From: Liu Yong [mailto:yliu@newavetech.com] > Sent: vrijdag 6 juli 2001 8:34 > To: Vermeulen Jan > Subject: RE: help about cross-compiler > > > > Thanks for your help. > But I have changed my .cshrc and added it before I build gcc. > I don't know what's wrong . > Maybe I should install glibc? I haven't installed it. > > Any suggestion is welcomed. > > Best Regards. > Liu Yong > > -----Original Message----- > From: Vermeulen Jan <Jan.Vermeulen@siemens.atea.be> > To: 'Liu Yong' <yliu@newavetech.com>, crossgcc@sources.redhat.com > Date: Fri, 6 Jul 2001 07:58:11 +0200 > Subject: RE: help about cross-compiler > > > >I want to build the cross-compiler (host : sun-solaris-2.6 target > : > > m68k-hp-bsd4.3). > > >I have installed the binutils ,but failed building Gcc , > > >I tried sereral times . > > >Please help me to find the reason or tell me how to do . > > >Thank you very much! > > > > <lots of errors> > > > > >/var/tmp/ccLd3ZbM.s:75: Error: Unknown opcode: `moveml' > > > > I am not certain this will help, but make sure that your > > m68k-hp-bsd4.3-* > > files are in the path. > > Set your path to > > PATH=$PATH:/<where you installed the binutils> > > > > Then try again. > > > > Greets, > > Jan > > > > ------ > > Want more information? See the CrossGCC FAQ, > > http://www.objsw.com/CrossGCC/ > > Want to unsubscribe? Send a note to > > crossgcc-unsubscribe@sourceware.cygnus.com > > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |