🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49525

cross-compiler

#49525
From: U-E59264-Osman Buyukisik
Date: Thu, 20 Jan 1994 23:44
45 lines
2072 bytes
Hi,

With help from H. MacDonald I was able to configure gcc :

./configure --host=hppa1.1-hp-hpux --target=i386-unknown-go32 --with-gnu-as -
-prefix=/users/buyuk/local --with-gnu-ld

The make goes until the point where it compiled cross-test and fails
at link because  it tries to add /lib/crt0.o instead of
/users/buyuk/local/i386-unknown-go32/lib/crt0.o 
If I do the "ld" manually with the above crt0.o then the a.out file
works on my pc (using go32 1.09 a.out version not the latest coff
version). I just cant figure out where in config xgcc is told
about the location of crt0.o. 

Would appreciate some help, and at the end I would like to summarize
my experience so that others trying to build 386 cross compilers do
not have to go through the same.

Thanks.

Osman

P.S here is the context diff for configure :


*** configure   Wed Jan 19 16:16:58 1994
--- configure.org       Fri Nov 19 16:44:34 1993
***************
*** 535,546 ****
                        tmake_file=t-svr3
                fi
                ;;
-       i[34]86-*-go32)         # Intel 80386's running GO32/djgpp
-               cpu_type=i386
-               xm_file=i386/xm-dos.h
-               xmake_file=i386/x-sysv3
-               tm_file=i386/go32.h
-               ;;
        i[34]86-*-solaris2* | i[34]86-*-sunos5*)
                cpu_type=i386
                xm_file=i386/xm-sysv4.h
--- 535,540 ----

hamish macdonald also supplied me with a config.sub file.
Technical Details
Message-ID: <9401201535.AA18832@crdems.ge.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!cis.ohio-state.edu!ae.ge.COM!buyukisik_osman

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,56102c1d81f9eec9
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-21 02:08:27 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!cis.ohio-state.edu!ae.ge.COM!buyukisik_osman
From: buyukisik_osman@ae.ge.COM (U-E59264-Osman Buyukisik)
Newsgroups: gnu.gcc.help
Subject: cross-compiler
Date: 20 Jan 1994 18:44:50 -0500
Organization: GNUs Not Usenet
Lines: 51
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9401201535.AA18832@crdems.ge.com>