🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53196

cross-compiler for i486-sysv4 to i386-sysv

#53196
From: Wei Jen Yeh
Date: Wed, 04 Mar 1992 11:03
29 lines
1730 bytes
  I just tried to build gcc 2.0 with ``configure --host=i486-sysv4 i386-sysv''.
The compilation went weel up to the point ...

mv -f gccnew gcc
./gcc -dumpspecs > specs
./gcc    -g -B./ -I. -I. -I./config -DCRT_BEGIN \
  -finhibit-size-directive -g0 -c ./crtstuff.c
Assembler: crtstuff.c
        aline 12        : Section attributes do not match
        aline 53        : Section attributes do not match
        aline 62        : Section attributes do not match
make: *** [crtbegin.o] Error 1

gcc is producing asm file that the sVr4 as does not like.  I tried
the sVr3 as on it and it passed w/o problems.  The makefile does not seem
to handle this situation quite well.  Should I modify the target config
file instead?  However, gcc does not seem to support the options -Wtool,dir
as cc does.

Thanks in advance for any help.

BTW, the sVr3 support files are under /user/3.2 on the same machine (running
sVr4).

Wei Jen Yeh                      yeh@cs.purdue.edu
                                 Department of Computer Science
                                 Purdue University
                                 West Lafayette, Indiana
Technical Details
Message-ID: <17987@ector.cs.purdue.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!yeh

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,63e6fec5137ee8c3,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-04 20:26:25 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!yeh
From: yeh@cs.purdue.EDU (Wei Jen Yeh)
Newsgroups: gnu.gcc.help
Subject: cross-compiler for i486-sysv4 to i386-sysv
Keywords: gcc 2.0, sVr4, sVr3
Message-ID: <17987@ector.cs.purdue.edu>
Date: 4 Mar 92 11:03:59 GMT
Sender: news@cs.purdue.EDU
Distribution: gnu
Organization: Department of Computer Science, Purdue University
Lines: 29