Article View: comp.sys.nsc.32k
Article #618More on compiling gcc
From: Sverre Froyen
Date: Wed, 02 Jan 1991 15:30
Date: Wed, 02 Jan 1991 15:30
31 lines
1581 bytes
1581 bytes
Scenario: Compiling gcc 1.38 under Minix on pc532 starting with Bruce's gcc 1.35 and using a set of patches from hut in Finland. I have configured for Bruce's assembler and linker. Problems: * Builtin_alloca fails under 1.35 -- fix by using alloca.c initially then switch to builtin_alloca when recompiling. * The statement "low = (unsigned) d;" gets compiled into a call to __fixunsdfsi -- fix by removing the offending explicit cast in fold-const.c: "low = d". This also happens with gcc 1.38 and is, I presume, related to the definitions in config/ns32k.md. Is this a bug? (This was the cause of the signal 6 problems I reported earlier.) * Recompiling expr.c causes gcc 1.38 to run out of memory (with an error message from gcc (Virtual memory exhausted) -- I am currently using gcc 1.35 to compile this file. It has the disadvantage that I still need alloca.c even after the recompilation. It appears that Minix is only willing to malloc half the remaining avaliable memory (as reported by ps). Is there a way to overcome this -- even temporarily? Sverre -- Sverre Froyen sverre@seri.gov, sunpeaks!seri!sverre
Technical Details
Message-ID:
<9101021530.AA17296@lars.seri.gov>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!news From: sverre@lars.Seri.GOV (Sverre Froyen) Newsgroups: comp.sys.nsc.32k Subject: More on compiling gcc Message-ID: <9101021530.AA17296@lars.seri.gov> Date: 2 Jan 91 15:30:11 GMT Sender: news@daver.bungi.com Lines: 31 Approved: news@daver.bungi.com