🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50691

Cross tools problem (Sun -> HP)

#50691
From: Esa K Viitala
Date: Tue, 10 Aug 1993 13:31
42 lines
2489 bytes
Hi,

I want to make gcc a cross compiler to cross from
sparc-sun-sunos4.1.3 to hppa1.1-hp-hpux.  Is this at all feasible?

I use 
        1.  gcc-2.4.0.u1, configured as --host=sparc-sun-sunos4.1.3
                --target=hppa1.1-hp-hpux which seems to build on my
                Sun SPARC-10 and produce something that

        2.  gas-1.36.utah is able to grasp.  Lastly I (thought) I'd
                use

        3.  binutils-2.2.1 configured as
                --host=sparc-sun-sunos4.1.3
                --target=hppa1.1-hp-hpux to give me a cross linker.
                Here I meet problems.  The main problem seems to be
                an undefined 'hppa_vec`.

                Same problem hit me when I tried to generate a
                "cross ar" (why would I need to use a "cross-ar"?
                This is instructions from the gcc INSTALL file, but
                couldn't I just do with Sun's native 'ar`, after
                all this is where I plan to do all the work?).

Anybody out there that can give me real help?  Anybody done this
sort of thing (crossing from SunOs to HP-UX A.09.01 A 9000/720)?

How would I get rid of the undefined 'hppa_vec`?  (I know of hppa.c
in /binutils-2.2.1/bfd, but it won't compile on Sun; 'ar`, 'nm`,
'objdump` and of course 'ld` needs it.  Maybe others too.)

Any pointers to the right direction are greatly appreciated.
Please mail me direct, I will summarize if there is enough
interest by other netters.

---ekv

-- 
Esa K Viitala, Simrad Albatross A/S,    Truly great madness can not be achieved
PB 483, N-3600 Kongsberg, Norway,       without significant intelligence. 
tlf. +47 32 865415, fax.  +47 32 735825      -- Henrik Tikkanen
Technical Details
Message-ID: <CBJpL3.J6o@albatross.no>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!trane.uninett.no!news.eunet.no!nuug!albatro!esav

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bbfbbb2e1cbdfb33,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 114b0c,bbfbbb2e1cbdfb33,start
X-Google-Attributes: gid114b0c,public
X-Google-Thread: 1025b4,bbfbbb2e1cbdfb33,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1993-08-10 07:54:25 PST
Newsgroups: gnu.gcc.help,gnu.misc.discuss,comp.sys.hp
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!trane.uninett.no!news.eunet.no!nuug!albatro!esav
From: esav@albatross.no (Esa K Viitala)
Subject: Cross tools problem (Sun -> HP)
Message-ID: <CBJpL3.J6o@albatross.no>
Organization: Simrad Albatross AS
Date: Tue, 10 Aug 1993 13:31:50 GMT
Lines: 42