[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help: i386-linux -> hppa-hpux cross-compiler



Howdy *,

I am trying to build a cross-compiler on my i386-linux for the
hppa-hpux. I am aware of the parisc-linux project which builds cross-
compilers for the hppa-linux platform. But my target OS is hpux, not
linux, therefore the tutorial from www.parisc-linux.org is not useful
for this purpose.

I understand that I need to first compile binutils. So I downloaded
binutils-2.15.tar.gz and configured it as follows:

  ./configure --host=i386-linux --build=i386-linux \
              --target=hppa2.0-hp-hpux10.20 \
              --prefix=./hpux \
              --disable-nls

The configuration proccess produces the following warning, but was
otherwise successful:

> *** This configuration is not supported in the following
>     subdirectories:
>      ld
>     (Any other directories should still work fine.)

The make process, on the other hand, failed with the following errors:

# ../bfd/.libs/libbfd.a(targets.o): In function `find_target':
# /home/cavatina/workarea/lhpxc/src/binutils-2.15/bfd/./targets.c:1169:
# undefined reference to `som_vec'
# /home/cavatina/workarea/lhpxc/src/binutils-2.15/bfd/./targets.c:1169:
# undefined reference to `som_vec'
# collect2: ld returned 1 exit status
# make[3]: *** [size] Error 1
# make[3]: Leaving directory
# `/home/cavatina/workarea/lhpxc/src/binutils-2.15/binutils'
# make[2]: *** [all-recursive] Error 1
# make[2]: Leaving directory
# `/home/cavatina/workarea/lhpxc/src/binutils-2.15/binutils'
# make[1]: *** [all-recursive-am] Error 2
# make[1]: Leaving directory
# `/home/cavatina/workarea/lhpxc/src/binutils-2.15/binutils'

I would appreciate help from someone with expertise in this area or
can point me to the appropriate resources.

Thanks a lot in advance!

Ivan



Reply to: