* about mips little endian cross compile @ 2001-01-02 6:51 Qingbo Wu 2001-01-02 19:37 ` the GTK chendyg21 2001-04-01 0:00 ` about mips little endian cross compile Qingbo Wu 0 siblings, 2 replies; 12+ messages in thread From: Qingbo Wu @ 2001-01-02 6:51 UTC (permalink / raw) To: crossgcc Hi, all, I am new to this mail list. I do not know how to compile mips little endian gcc. Which configure files do I have to update? My host machine is X86 linux. If someone knows, please help me. Thanks in advance! Qingbo ^ permalink raw reply [flat|nested] 12+ messages in thread
* the GTK 2001-01-02 6:51 about mips little endian cross compile Qingbo Wu @ 2001-01-02 19:37 ` chendyg21 2001-01-02 20:39 ` mike ` (2 more replies) 2001-04-01 0:00 ` about mips little endian cross compile Qingbo Wu 1 sibling, 3 replies; 12+ messages in thread From: chendyg21 @ 2001-01-02 19:37 UTC (permalink / raw) To: crossgcc > Dear All: I am new to do the cross compiling on GTK. First I must compiling the GLIB-1.2.8.I have done the native compiling and it succed. Now I dscribe the step and the error. I hope to get the help from all of you. 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. 2. ./configure arm-linux --prefix=/usr/gtk 3. make CC=arm-linux-gcc the error is like that:(I cut the error part to you.) ...... make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 collect2: ld terminated with signal 11 [Segmentation fault], core dumped /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 make[2]: *** [libglib.la] Error 1 make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make: *** [all-recursive-am] Error 2 I analysis that the ld is not right. I try: 1. go to /skill/local/bin 2. ln -s arm-linux-ld ld 3. make CC=arm-linux-gcc the error is:(the last part) make all-recursive make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' Making all in . make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 Supported emulations: armelf_linux armelf_linux26 armelf collect2: ld returned 1 exit status make[2]: *** [libglib.la] Error 1 make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make: *** [all-recursive-am] Error 2 who can tell me how to do it? Joshua Chen ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-02 19:37 ` the GTK chendyg21 @ 2001-01-02 20:39 ` mike 2001-01-03 0:24 ` chendyg21 2001-04-01 0:00 ` mike 2001-01-02 22:05 ` Alexandre Oliva 2001-04-01 0:00 ` chendyg21 2 siblings, 2 replies; 12+ messages in thread From: mike @ 2001-01-02 20:39 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc I have to admit it first. I only succed cross compiling GTK under windoze. In the last error. > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 this means your ld(symbolic link arm-linux-ld)doesn't recognised elf_i386 format. and this shows the last object files ld try to link include some file in elf_i386 format. try to clean all the files and re-build. The two way that I do under windoze to build glib. 1. the GNU standard way (./configure and make) 2. write MAKEFILE myself I prefer 2. I don't get it how to execute 'make CC=arm-linux-gcc' without './configure' (maybe it is not support yet) IMHO. try to write MAKEFILE yourself. BTW,glib-1.2.8 got several directories. the most important is 'gthread'. If you want to glib works, you should handle this well. (gthread is some wrap functions base on pthread). If you still un-satisfied, try to drop you question to gtk-devel-list@gnome.org gtk-list@gnome.org ----- Original Message ----- From: "chendyg21" <chendyg@21cn.com> To: <crossgcc@sourceware.cygnus.com> Sent: Wednesday, January 03, 2001 11:39 AM Subject: the GTK > > > Dear All: > I am new to do the cross compiling on GTK. > First I must compiling the GLIB-1.2.8.I have done the native compiling and it succed. > Now I dscribe the step and the error. > I hope to get the help from all of you. > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > 2. ./configure arm-linux --prefix=/usr/gtk > 3. make CC=arm-linux-gcc > the error is like that:(I cut the error part to you.) > ...... > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > /bin/sh ./libtool --mode=link rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > make[2]: *** [libglib.la] Error 1 > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make: *** [all-recursive-am] Error 2 > > I analysis that the ld is not right. > I try: > > 1. go to /skill/local/bin > 2. ln -s arm-linux-ld ld > 3. make CC=arm-linux-gcc > the error is:(the last part) > make all-recursive > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > Making all in . > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > /bin/sh ./libtool --mode=link rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > Supported emulations: armelf_linux armelf_linux26 armelf > collect2: ld returned 1 exit status > make[2]: *** [libglib.la] Error 1 > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make: *** [all-recursive-am] Error 2 > > who can tell me how to do it? > > > Joshua Chen > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-02 20:39 ` mike @ 2001-01-03 0:24 ` chendyg21 2001-01-03 1:25 ` mike 2001-04-01 0:00 ` chendyg21 2001-04-01 0:00 ` mike 1 sibling, 2 replies; 12+ messages in thread From: chendyg21 @ 2001-01-03 0:24 UTC (permalink / raw) To: mike; +Cc: crossgcc Mike: Thank you. Because now I am not very familiar about how to write the Makefile. I think you can tell me which part of the knowledge should be known. But Now I have make it through by the way of myself. 1. do the configure as the native compiling. 2. add the arm-linux-tools path to PATH 3. in that path do the link ln -s arm-linux-gcc gcc ln -s arm-linux-ld ld 4. do make CC=arm-linux-gcc I guess that the CC=arm-linux-gcc can override the orginal CC=gcc. So it can do the cross compling. At last I complete. and I use the file to test it. But I havn't test it with the AP. Next is my duty to test it with the real AP. ----- Original Message ----- From: mike <mike@penbex.com.tw> To: chendyg21 <chendyg@21cn.com> Cc: <crossgcc@sources.redhat.com> Sent: Wednesday, January 03, 2001 12:32 PM Subject: Re: the GTK > I have to admit it first. > I only succed cross compiling GTK under windoze. > In the last error. > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > this means your ld(symbolic link arm-linux-ld)doesn't > recognised elf_i386 format. > and this shows the last object files ld try to link > include some file in elf_i386 format. > try to clean all the files and re-build. > > The two way that I do under windoze to build glib. > 1. the GNU standard way (./configure and make) > 2. write MAKEFILE myself > I prefer 2. > I don't get it how to execute 'make CC=arm-linux-gcc' > without './configure' (maybe it is not support yet) > > IMHO. try to write MAKEFILE yourself. > BTW,glib-1.2.8 got several directories. > the most important is 'gthread'. > If you want to glib works, > you should handle this well. > (gthread is some wrap functions base on pthread). > If you still un-satisfied, try to drop you question to > gtk-devel-list@gnome.org > gtk-list@gnome.org > > ----- Original Message ----- > From: "chendyg21" <chendyg@21cn.com> > To: <crossgcc@sourceware.cygnus.com> > Sent: Wednesday, January 03, 2001 11:39 AM > Subject: the GTK > > > > > > > Dear All: > > I am new to do the cross compiling on GTK. > > First I must compiling the GLIB-1.2.8.I have done the native compiling > and it succed. > > Now I dscribe the step and the error. > > I hope to get the help from all of you. > > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > > 2. ./configure arm-linux --prefix=/usr/gtk > > 3. make CC=arm-linux-gcc > > the error is like that:(I cut the error part to you.) > > ...... > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > /bin/sh ./libtool --mode=link > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > gtimer.lo gtree.lo gutils.lo > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > .libs/libglib-1.2.so.0.0.8 > > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > > make[2]: *** [libglib.la] Error 1 > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make: *** [all-recursive-am] Error 2 > > > > I analysis that the ld is not right. > > I try: > > > > 1. go to /skill/local/bin > > 2. ln -s arm-linux-ld ld > > 3. make CC=arm-linux-gcc > > the error is:(the last part) > > make all-recursive > > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > Making all in . > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > /bin/sh ./libtool --mode=link > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > gtimer.lo gtree.lo gutils.lo > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > .libs/libglib-1.2.so.0.0.8 > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > Supported emulations: armelf_linux armelf_linux26 armelf > > collect2: ld returned 1 exit status > > make[2]: *** [libglib.la] Error 1 > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make: *** [all-recursive-am] Error 2 > > > > who can tell me how to do it? > > > > > > Joshua Chen > > > > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-03 0:24 ` chendyg21 @ 2001-01-03 1:25 ` mike 2001-04-01 0:00 ` mike 2001-04-01 0:00 ` chendyg21 1 sibling, 1 reply; 12+ messages in thread From: mike @ 2001-01-03 1:25 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc The makefile I mention is simple actually. It did. o compiler all the .c to .o o combine all .o to .a use ar You can try this idea first, or wait for till tomorrow. BTW. If u want to test glib ap. 'glib-1.2.8/test' has good examples. AFAIK, GTK works on Linux, BeOS, Win32 and some embedded-linux platform. Keep working, I'd very happy to see glib is really portable. And is gdk,gtk involve your project? ----- Original Message ----- From: "chendyg21" <chendyg@21cn.com> To: "mike" <mike@penbex.com.tw> Cc: <crossgcc@sources.redhat.com> Sent: Wednesday, January 03, 2001 4:26 PM Subject: Re: the GTK > Mike: > Thank you. > Because now I am not very familiar about how to write the Makefile. I think you can tell me which part of the knowledge should be known. > But Now I have make it through by the way of myself. > > 1. do the configure as the native compiling. > 2. add the arm-linux-tools path to PATH > 3. in that path do the link > ln -s arm-linux-gcc gcc > ln -s arm-linux-ld ld > 4. do make CC=arm-linux-gcc > I guess that the CC=arm-linux-gcc can override the orginal CC=gcc. So it can do the cross compling. > At last I complete. and I use the file to test it. > But I havn't test it with the AP. > Next is my duty to test it with the real AP. > ----- Original Message ----- > From: mike <mike@penbex.com.tw> > To: chendyg21 <chendyg@21cn.com> > Cc: <crossgcc@sources.redhat.com> > Sent: Wednesday, January 03, 2001 12:32 PM > Subject: Re: the GTK > > > > I have to admit it first. > > I only succed cross compiling GTK under windoze. > > In the last error. > > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > this means your ld(symbolic link arm-linux-ld)doesn't > > recognised elf_i386 format. > > and this shows the last object files ld try to link > > include some file in elf_i386 format. > > try to clean all the files and re-build. > > > > The two way that I do under windoze to build glib. > > 1. the GNU standard way (./configure and make) > > 2. write MAKEFILE myself > > I prefer 2. > > I don't get it how to execute 'make CC=arm-linux-gcc' > > without './configure' (maybe it is not support yet) > > > > IMHO. try to write MAKEFILE yourself. > > BTW,glib-1.2.8 got several directories. > > the most important is 'gthread'. > > If you want to glib works, > > you should handle this well. > > (gthread is some wrap functions base on pthread). > > If you still un-satisfied, try to drop you question to > > gtk-devel-list@gnome.org > > gtk-list@gnome.org > > > > ----- Original Message ----- > > From: "chendyg21" <chendyg@21cn.com> > > To: <crossgcc@sourceware.cygnus.com> > > Sent: Wednesday, January 03, 2001 11:39 AM > > Subject: the GTK > > > > > > > > > > > Dear All: > > > I am new to do the cross compiling on GTK. > > > First I must compiling the GLIB-1.2.8.I have done the native compiling > > and it succed. > > > Now I dscribe the step and the error. > > > I hope to get the help from all of you. > > > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > > > 2. ./configure arm-linux --prefix=/usr/gtk > > > 3. make CC=arm-linux-gcc > > > the error is like that:(I cut the error part to you.) > > > ...... > > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > /bin/sh ./libtool --mode=link > > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > > gtimer.lo gtree.lo gutils.lo > > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > > .libs/libglib-1.2.so.0.0.8 > > > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > > > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > > > make[2]: *** [libglib.la] Error 1 > > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make: *** [all-recursive-am] Error 2 > > > > > > I analysis that the ld is not right. > > > I try: > > > > > > 1. go to /skill/local/bin > > > 2. ln -s arm-linux-ld ld > > > 3. make CC=arm-linux-gcc > > > the error is:(the last part) > > > make all-recursive > > > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > Making all in . > > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > /bin/sh ./libtool --mode=link > > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > > gtimer.lo gtree.lo gutils.lo > > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > > .libs/libglib-1.2.so.0.0.8 > > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > > Supported emulations: armelf_linux armelf_linux26 armelf > > > collect2: ld returned 1 exit status > > > make[2]: *** [libglib.la] Error 1 > > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make: *** [all-recursive-am] Error 2 > > > > > > who can tell me how to do it? > > > > > > > > > Joshua Chen > > > > > > > > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-03 1:25 ` mike @ 2001-04-01 0:00 ` mike 0 siblings, 0 replies; 12+ messages in thread From: mike @ 2001-04-01 0:00 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc The makefile I mention is simple actually. It did. o compiler all the .c to .o o combine all .o to .a use ar You can try this idea first, or wait for till tomorrow. BTW. If u want to test glib ap. 'glib-1.2.8/test' has good examples. AFAIK, GTK works on Linux, BeOS, Win32 and some embedded-linux platform. Keep working, I'd very happy to see glib is really portable. And is gdk,gtk involve your project? ----- Original Message ----- From: "chendyg21" <chendyg@21cn.com> To: "mike" <mike@penbex.com.tw> Cc: <crossgcc@sources.redhat.com> Sent: Wednesday, January 03, 2001 4:26 PM Subject: Re: the GTK > Mike: > Thank you. > Because now I am not very familiar about how to write the Makefile. I think you can tell me which part of the knowledge should be known. > But Now I have make it through by the way of myself. > > 1. do the configure as the native compiling. > 2. add the arm-linux-tools path to PATH > 3. in that path do the link > ln -s arm-linux-gcc gcc > ln -s arm-linux-ld ld > 4. do make CC=arm-linux-gcc > I guess that the CC=arm-linux-gcc can override the orginal CC=gcc. So it can do the cross compling. > At last I complete. and I use the file to test it. > But I havn't test it with the AP. > Next is my duty to test it with the real AP. > ----- Original Message ----- > From: mike <mike@penbex.com.tw> > To: chendyg21 <chendyg@21cn.com> > Cc: <crossgcc@sources.redhat.com> > Sent: Wednesday, January 03, 2001 12:32 PM > Subject: Re: the GTK > > > > I have to admit it first. > > I only succed cross compiling GTK under windoze. > > In the last error. > > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > this means your ld(symbolic link arm-linux-ld)doesn't > > recognised elf_i386 format. > > and this shows the last object files ld try to link > > include some file in elf_i386 format. > > try to clean all the files and re-build. > > > > The two way that I do under windoze to build glib. > > 1. the GNU standard way (./configure and make) > > 2. write MAKEFILE myself > > I prefer 2. > > I don't get it how to execute 'make CC=arm-linux-gcc' > > without './configure' (maybe it is not support yet) > > > > IMHO. try to write MAKEFILE yourself. > > BTW,glib-1.2.8 got several directories. > > the most important is 'gthread'. > > If you want to glib works, > > you should handle this well. > > (gthread is some wrap functions base on pthread). > > If you still un-satisfied, try to drop you question to > > gtk-devel-list@gnome.org > > gtk-list@gnome.org > > > > ----- Original Message ----- > > From: "chendyg21" <chendyg@21cn.com> > > To: <crossgcc@sourceware.cygnus.com> > > Sent: Wednesday, January 03, 2001 11:39 AM > > Subject: the GTK > > > > > > > > > > > Dear All: > > > I am new to do the cross compiling on GTK. > > > First I must compiling the GLIB-1.2.8.I have done the native compiling > > and it succed. > > > Now I dscribe the step and the error. > > > I hope to get the help from all of you. > > > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > > > 2. ./configure arm-linux --prefix=/usr/gtk > > > 3. make CC=arm-linux-gcc > > > the error is like that:(I cut the error part to you.) > > > ...... > > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > /bin/sh ./libtool --mode=link > > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > > gtimer.lo gtree.lo gutils.lo > > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > > .libs/libglib-1.2.so.0.0.8 > > > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > > > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > > > make[2]: *** [libglib.la] Error 1 > > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make: *** [all-recursive-am] Error 2 > > > > > > I analysis that the ld is not right. > > > I try: > > > > > > 1. go to /skill/local/bin > > > 2. ln -s arm-linux-ld ld > > > 3. make CC=arm-linux-gcc > > > the error is:(the last part) > > > make all-recursive > > > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > Making all in . > > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > /bin/sh ./libtool --mode=link > > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > > gtimer.lo gtree.lo gutils.lo > > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > > .libs/libglib-1.2.so.0.0.8 > > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > > Supported emulations: armelf_linux armelf_linux26 armelf > > > collect2: ld returned 1 exit status > > > make[2]: *** [libglib.la] Error 1 > > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > > make: *** [all-recursive-am] Error 2 > > > > > > who can tell me how to do it? > > > > > > > > > Joshua Chen > > > > > > > > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-03 0:24 ` chendyg21 2001-01-03 1:25 ` mike @ 2001-04-01 0:00 ` chendyg21 1 sibling, 0 replies; 12+ messages in thread From: chendyg21 @ 2001-04-01 0:00 UTC (permalink / raw) To: mike; +Cc: crossgcc Mike: Thank you. Because now I am not very familiar about how to write the Makefile. I think you can tell me which part of the knowledge should be known. But Now I have make it through by the way of myself. 1. do the configure as the native compiling. 2. add the arm-linux-tools path to PATH 3. in that path do the link ln -s arm-linux-gcc gcc ln -s arm-linux-ld ld 4. do make CC=arm-linux-gcc I guess that the CC=arm-linux-gcc can override the orginal CC=gcc. So it can do the cross compling. At last I complete. and I use the file to test it. But I havn't test it with the AP. Next is my duty to test it with the real AP. ----- Original Message ----- From: mike <mike@penbex.com.tw> To: chendyg21 <chendyg@21cn.com> Cc: <crossgcc@sources.redhat.com> Sent: Wednesday, January 03, 2001 12:32 PM Subject: Re: the GTK > I have to admit it first. > I only succed cross compiling GTK under windoze. > In the last error. > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > this means your ld(symbolic link arm-linux-ld)doesn't > recognised elf_i386 format. > and this shows the last object files ld try to link > include some file in elf_i386 format. > try to clean all the files and re-build. > > The two way that I do under windoze to build glib. > 1. the GNU standard way (./configure and make) > 2. write MAKEFILE myself > I prefer 2. > I don't get it how to execute 'make CC=arm-linux-gcc' > without './configure' (maybe it is not support yet) > > IMHO. try to write MAKEFILE yourself. > BTW,glib-1.2.8 got several directories. > the most important is 'gthread'. > If you want to glib works, > you should handle this well. > (gthread is some wrap functions base on pthread). > If you still un-satisfied, try to drop you question to > gtk-devel-list@gnome.org > gtk-list@gnome.org > > ----- Original Message ----- > From: "chendyg21" <chendyg@21cn.com> > To: <crossgcc@sourceware.cygnus.com> > Sent: Wednesday, January 03, 2001 11:39 AM > Subject: the GTK > > > > > > > Dear All: > > I am new to do the cross compiling on GTK. > > First I must compiling the GLIB-1.2.8.I have done the native compiling > and it succed. > > Now I dscribe the step and the error. > > I hope to get the help from all of you. > > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > > 2. ./configure arm-linux --prefix=/usr/gtk > > 3. make CC=arm-linux-gcc > > the error is like that:(I cut the error part to you.) > > ...... > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > /bin/sh ./libtool --mode=link > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > gtimer.lo gtree.lo gutils.lo > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > .libs/libglib-1.2.so.0.0.8 > > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > > make[2]: *** [libglib.la] Error 1 > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make: *** [all-recursive-am] Error 2 > > > > I analysis that the ld is not right. > > I try: > > > > 1. go to /skill/local/bin > > 2. ln -s arm-linux-ld ld > > 3. make CC=arm-linux-gcc > > the error is:(the last part) > > make all-recursive > > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > Making all in . > > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > > /bin/sh ./libtool --mode=link > rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath > /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo > gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo > giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo > gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo > gtimer.lo gtree.lo gutils.lo > > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo > gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo > gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo > gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo > utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o > .libs/libglib-1.2.so.0.0.8 > > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > > Supported emulations: armelf_linux armelf_linux26 armelf > > collect2: ld returned 1 exit status > > make[2]: *** [libglib.la] Error 1 > > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > > make: *** [all-recursive-am] Error 2 > > > > who can tell me how to do it? > > > > > > Joshua Chen > > > > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-02 20:39 ` mike 2001-01-03 0:24 ` chendyg21 @ 2001-04-01 0:00 ` mike 1 sibling, 0 replies; 12+ messages in thread From: mike @ 2001-04-01 0:00 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc I have to admit it first. I only succed cross compiling GTK under windoze. In the last error. > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 this means your ld(symbolic link arm-linux-ld)doesn't recognised elf_i386 format. and this shows the last object files ld try to link include some file in elf_i386 format. try to clean all the files and re-build. The two way that I do under windoze to build glib. 1. the GNU standard way (./configure and make) 2. write MAKEFILE myself I prefer 2. I don't get it how to execute 'make CC=arm-linux-gcc' without './configure' (maybe it is not support yet) IMHO. try to write MAKEFILE yourself. BTW,glib-1.2.8 got several directories. the most important is 'gthread'. If you want to glib works, you should handle this well. (gthread is some wrap functions base on pthread). If you still un-satisfied, try to drop you question to gtk-devel-list@gnome.org gtk-list@gnome.org ----- Original Message ----- From: "chendyg21" <chendyg@21cn.com> To: <crossgcc@sourceware.cygnus.com> Sent: Wednesday, January 03, 2001 11:39 AM Subject: the GTK > > > Dear All: > I am new to do the cross compiling on GTK. > First I must compiling the GLIB-1.2.8.I have done the native compiling and it succed. > Now I dscribe the step and the error. > I hope to get the help from all of you. > 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. > 2. ./configure arm-linux --prefix=/usr/gtk > 3. make CC=arm-linux-gcc > the error is like that:(I cut the error part to you.) > ...... > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > /bin/sh ./libtool --mode=link rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 > collect2: ld terminated with signal 11 [Segmentation fault], core dumped > /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 > make[2]: *** [libglib.la] Error 1 > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make: *** [all-recursive-am] Error 2 > > I analysis that the ld is not right. > I try: > > 1. go to /skill/local/bin > 2. ln -s arm-linux-ld ld > 3. make CC=arm-linux-gcc > the error is:(the last part) > make all-recursive > make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > Making all in . > make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' > /bin/sh ./libtool --mode=link rm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo utils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 > /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 > Supported emulations: armelf_linux armelf_linux26 armelf > collect2: ld returned 1 exit status > make[2]: *** [libglib.la] Error 1 > make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' > make: *** [all-recursive-am] Error 2 > > who can tell me how to do it? > > > Joshua Chen > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-02 19:37 ` the GTK chendyg21 2001-01-02 20:39 ` mike @ 2001-01-02 22:05 ` Alexandre Oliva 2001-04-01 0:00 ` Alexandre Oliva 2001-04-01 0:00 ` chendyg21 2 siblings, 1 reply; 12+ messages in thread From: Alexandre Oliva @ 2001-01-02 22:05 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc On Jan 3, 2001, "chendyg21" <chendyg@21cn.com> wrote: > /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 Note that the libtool command line runs arm-linux-gcc, whereas the command libtool runs is plain gcc. This is not going to work. libtool should have been configured with CC=arm-linux-gcc to do its job correctly. How about running `make distclean' and starting again, from scratch? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: the GTK 2001-01-02 22:05 ` Alexandre Oliva @ 2001-04-01 0:00 ` Alexandre Oliva 0 siblings, 0 replies; 12+ messages in thread From: Alexandre Oliva @ 2001-04-01 0:00 UTC (permalink / raw) To: chendyg21; +Cc: crossgcc On Jan 3, 2001, "chendyg21" <chendyg@21cn.com> wrote: > /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo > rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* > gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 Note that the libtool command line runs arm-linux-gcc, whereas the command libtool runs is plain gcc. This is not going to work. libtool should have been configured with CC=arm-linux-gcc to do its job correctly. How about running `make distclean' and starting again, from scratch? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* the GTK 2001-01-02 19:37 ` the GTK chendyg21 2001-01-02 20:39 ` mike 2001-01-02 22:05 ` Alexandre Oliva @ 2001-04-01 0:00 ` chendyg21 2 siblings, 0 replies; 12+ messages in thread From: chendyg21 @ 2001-04-01 0:00 UTC (permalink / raw) To: crossgcc > Dear All: I am new to do the cross compiling on GTK. First I must compiling the GLIB-1.2.8.I have done the native compiling and it succed. Now I dscribe the step and the error. I hope to get the help from all of you. 1. set the PATH=/skill/local/bin:$PATH. the arm-linux-gcc can be used. 2. ./configure arm-linux --prefix=/usr/gtk 3. make CC=arm-linux-gcc the error is like that:(I cut the error part to you.) ...... make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 collect2: ld terminated with signal 11 [Segmentation fault], core dumped /usr/bin/ld: bfd assertion fail elf32-i386.c:1513 make[2]: *** [libglib.la] Error 1 make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make: *** [all-recursive-am] Error 2 I analysis that the ld is not right. I try: 1. go to /skill/local/bin 2. ln -s arm-linux-ld ld 3. make CC=arm-linux-gcc the error is:(the last part) make all-recursive make[1]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' Making all in . make[2]: Entering directory `/root/usr/gtk/v1.2/glib-1.2.8' /bin/sh ./libtool --mode=link arm-linux-gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/gtk/lib -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* gcc -shared garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -lc -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.8 /skiff/local/bin/ld: unrecognised emulation mode: elf_i386 Supported emulations: armelf_linux armelf_linux26 armelf collect2: ld returned 1 exit status make[2]: *** [libglib.la] Error 1 make[2]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/usr/gtk/v1.2/glib-1.2.8' make: *** [all-recursive-am] Error 2 who can tell me how to do it? Joshua Chen ^ permalink raw reply [flat|nested] 12+ messages in thread
* about mips little endian cross compile 2001-01-02 6:51 about mips little endian cross compile Qingbo Wu 2001-01-02 19:37 ` the GTK chendyg21 @ 2001-04-01 0:00 ` Qingbo Wu 1 sibling, 0 replies; 12+ messages in thread From: Qingbo Wu @ 2001-04-01 0:00 UTC (permalink / raw) To: crossgcc Hi, all, I am new to this mail list. I do not know how to compile mips little endian gcc. Which configure files do I have to update? My host machine is X86 linux. If someone knows, please help me. Thanks in advance! Qingbo ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2001-04-01 0:00 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-01-02 6:51 about mips little endian cross compile Qingbo Wu 2001-01-02 19:37 ` the GTK chendyg21 2001-01-02 20:39 ` mike 2001-01-03 0:24 ` chendyg21 2001-01-03 1:25 ` mike 2001-04-01 0:00 ` mike 2001-04-01 0:00 ` chendyg21 2001-04-01 0:00 ` mike 2001-01-02 22:05 ` Alexandre Oliva 2001-04-01 0:00 ` Alexandre Oliva 2001-04-01 0:00 ` chendyg21 2001-04-01 0:00 ` about mips little endian cross compile Qingbo Wu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).