This is the mail archive of the crossgcc@sourceware.org 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: Trying to get crosstool-0.43 to work on Solaris 9


 David Kahn <dmkahn@gmail.com>:

> That sounds familiar. But I don't see what I did
> about it. I had problems with libiconv, and did
> something for that. (I used GCC_EXTRA_CONFIG to
> workaround that, setting --with-libiconv-prefix)

Something like the following error?

/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2    -o size  size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
Undefined                       first referenced
 symbol                             in file
libintl_gettext                     size.o
libintl_textdomain                  size.o
libintl_bindtextdomain              size.o
libintl_dgettext                    ../bfd/.libs/libbfd.a(archive.o)
ld: fatal: Symbol referencing errors. No output written to size
collect2: ld returned 1 exit status
gmake[4]: *** [size] Error 1
gmake[4]: Leaving directory `/export/home/askwar/gnu-tools/build/binutils-2.17/binutils'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/askwar/gnu-tools/build/binutils-2.17/binutils'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/askwar/gnu-tools/build/binutils-2.17/binutils'
gmake[1]: *** [all-binutils] Error 2
gmake[1]: Leaving directory `/export/home/askwar/gnu-tools/build/binutils-2.17'
gmake: *** [all] Error 2

I got that, when I tried to build binutils-2.17 on Sparc for Sparc.
I used GCC from Blastwave.

But in binutils' ./configure, there's no --with-libiconv-prefix :-(

> There's something like --with-gnu-as and --with-gnu-ld or something

Hm, any chance that you could somehow remember which package
should feature --with-gnu-as and --with-gnu-ld?

Alexander Skwar
-- 
BOFH Excuse #50:

Change in Earth's rotational speed



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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