Binutils Solaris -> HPUX Questions

David G Oberbeck 622369 oberbdg@stamps.stortek.com
Wed Jan 3 12:36:00 GMT 2001


Greetings all,

   I have a possibly stupid question regarding cross tools to HPUX...

   Context: The desired outcome is a gcc cross compiler from Solaris
to HPUX 10.2. I understand that ld does not work on the cross target
platform - I had, however, high hopes for gcc; As I understand it part
of that platform gcc support requires a working cross assembler.

   I have tried to build both binutils-2.10.1 and the CVS sources from
yesterday, either from Linux or Solaris; this fails on both hosts.

   Command line was:
	./configure --target=hppa-hp-hpux10.20
   or
	./configure --target=hppa2.0-hp-hpux10.20

   Fails during build at:

gcc -g -O2 -W -Wall -o size size.o bucomm.o version.o filemode.o 
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
../bfd/.libs/libbfd.a(targets.o): In function `find_target':
/proj/twolf/tools/x_hpux_10/src/binutils-2.10.1/bfd/./targets.c:961: undefined 
reference to `som_vec'
/proj/twolf/tools/x_hpux_10/src/binutils-2.10.1/bfd/./targets.c:961: undefined 
reference to `som_vec'
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1

   Mr. Ian Taylor has kindly offered some pointers, among which was
asking the people on this group if anyone has a patch for the files in
question (probably som.c & target.c) which allow a suitable hppa/HPUX
cross assembler to be built...

   If so, please contact me either through this list or directly at
oberbdg@stamps.stortek.com . I have hunted around in mailing lists,
and through google and have not found a solution... If no working
patches, then any pointers for additional sources or information would
be greatly appreciated.

Regards & TIA,
	David


David Oberbeck
StorageTek Library Development Engineering
Voice: (303) 673-8817
Fax:   (303) 661-5379
oberbdg@stamps.stortek.com <mailto: oberbdg@stamps.stortek.com>
"Entropy Requires No Maintenance"



More information about the Binutils mailing list