public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "chendyg21" <chendyg@21cn.com>
To: <crossgcc@sourceware.cygnus.com>
Subject: the GTK
Date: Tue, 02 Jan 2001 19:37:00 -0000	[thread overview]
Message-ID: <001901c07536$de419e60$2e20a8c0@xlinux.com.cn> (raw)
In-Reply-To: <003601c044dc$2a6c2c00$0a051aac@nudt.edu.cn>


> 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

WARNING: multiple messages have this Message-ID
From: "chendyg21" <chendyg@21cn.com>
To: <crossgcc@sourceware.cygnus.com>
Subject: the GTK
Date: Sun, 01 Apr 2001 00:00:00 -0000	[thread overview]
Message-ID: <001901c07536$de419e60$2e20a8c0@xlinux.com.cn> (raw)
Message-ID: <20010401000000.YR35dl0WF3fSl3BfUCvS1Pr4tdzfduRgfII_N1NcPXA@z> (raw)
In-Reply-To: <003601c044dc$2a6c2c00$0a051aac@nudt.edu.cn>


> 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

  reply	other threads:[~2001-01-02 19:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-02  6:51 about mips little endian cross compile Qingbo Wu
2001-01-02 19:37 ` chendyg21 [this message]
2001-01-02 20:39   ` the GTK 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001901c07536$de419e60$2e20a8c0@xlinux.com.cn' \
    --to=chendyg@21cn.com \
    --cc=crossgcc@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).