Article View: gnu.gcc.help
Article #42122problem compiling binutils on linux
From: Joseph H Allen
Date: Sat, 13 Jan 1996 00:00
Date: Sat, 13 Jan 1996 00:00
28 lines
1603 bytes
1603 bytes
I'm trying to compile gcc and binutils on my linux machine as a cross
compiler for an embedded mips r3000. I'm having trouble getting binutils
version 2.5.2 to compile. I try:
./configure --target=mips-dec-bsd
./make
and when it compiles the file archures.c of bfd, I get an error because it's
giving:
-DDEFAULT_VECS=elvecs and
-DDEFAULT_ARCHITECTURE=elarchs
on the cc line.
Something is going wrong with the complicated configuration script. I think
DEFAULT_VECS and DEFAULT_ARCHITECTURE are supposed to be set from the
enumerations in targets.c and archures.c, or are supposed to be left blank.
Either way, bfd isn't compiled correctly and I get lots of link errors
(unresolved references) when linking ld or gas.
Incidentally, I'm using 'mips-dec-bsd' because it looks like it will work.
Any 32-bit mips a.out format will be fine for what I need.
--
/* jhallen@world.std.com (192.74.137.5) */ /* Joseph H. Allen */
int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
+r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
Technical Details
Message-ID:
<DL4444.BLL@world.std.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4cd07ba5e9726ef0,start X-Google-Attributes: gid11318c,public From: jhallen@world.std.com (Joseph H Allen) Subject: problem compiling binutils on linux Date: 1996/01/13 Message-ID: <DL4444.BLL@world.std.com> X-Deja-AN: 135045613 organization: The World Public Access UNIX, Brookline, MA newsgroups: gnu.gcc.help