Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!news From: sverre@lars.Seri.GOV (Sverre Froyen) Newsgroups: comp.sys.nsc.32k Subject: Need help compiling gcc. Message-ID: <9012312223.AA15916@lars.seri.gov> Date: 31 Dec 90 22:23:03 GMT Sender: news@daver.bungi.com Lines: 29 Approved: news@daver.bungi.com Dear All, For the past couple of days I have been trying to compile gcc on the pc532 under Minix. I am trying to compile gcc-1.38 using a set of patches from Finland (which installed without a hitch) and with Bruce's as and ld. The Minix is pretty much straight out of the box (Bruce's that is). The pc532 has 4MB memory installed. The first problem I ran into was that bison core dumped immediately. Undefining alloca and using the malloc version of alloca (from emacs or gcc) fixed that problem (but should not builtin_alloca work even under gcc-1.35???). Anyway I turned off builtin_alloca in my attempts to compile gcc. I have gotten as far as having everything link together and produce running copies of gcc, cc1, and cpp. These work fine on simple test programs. However when compiling gnulib2 or when trying to recompile gcc-1.38 I get fatal signal 6 (out of memory). Given 4MB of memory this somehow does not seem right. To test this further I wrote a small loop that allocates chunks of space. Depending on the chunksize I was able to malloc about 1.4MB before malloc returned 0. Can this be right and could this be the cause of my problems with gcc. Ideas anyone??? Sverre -- Sverre Froyen sverre@seri.gov, sunpeaks!seri!sverre