Article View: gnu.gcc.help
Article #49504cross-compiler
From: U-E59264-Osman Buyukisik
Date: Wed, 19 Jan 1994 13:27
Date: Wed, 19 Jan 1994 13:27
32 lines
1735 bytes
1735 bytes
Hi,
I was trying to build a cross-compiler on an hp710 (with gcc-2.5.7 on
hpux8.07a,hppa1.1) so that I can produce a.out files that work on
MSDOS using DJGPP's (gcc prot to DOS) go32 (DOS extender). I built
binutils-2.3, gas2.2 using
configure --host=hppa1.1-hp-hpux --target=i386-ibm-go32 --with-minial-bfd=yes
and configured gcc :
configure --host=hppa1.1-hp-hpux --target=i386v --with-gnu-ld --with-gnu-as
in both cases I also added --prefix=/users/buyuk/local.
I also got DJGPP's include files (these are from version gcc-2.3.3
port). I was told that I did not need libgcc1.a but uploaded libgcc.a
anyways.
Make LANGUAGES=c dies at :
rm -f cpp
ln cccp cpp
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -c ./cross-test.c
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -I. -I. -I./config -DCRT_BEGIN \
-finhibit-size-directive -fno-inline-functions \
-g0 -c ./crtstuff.c -o crtbegin.o
/usr/tmp/cca16038.s: Assembler messages:
/usr/tmp/cca16038.s:14: Error: Unknown pseudo-op: `.section'
*** Error code 1
What gives?
Thanks in advance.
Osman
Technical Details
Message-ID:
<9401191315.AA14184@crdems.ge.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ae.ge.COM!buyukisik_osmanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,56102c1d81f9eec9,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-19 09:30:55 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!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: 19 Jan 1994 08:27:55 -0500 Organization: GNUs Not Usenet Lines: 33 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9401191315.AA14184@crdems.ge.com>