Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!hyc From: hyc@math.lsa.umich.edu (Howard Chu) Newsgroups: comp.sys.atari.st Subject: Re: gcc Message-ID: <1990Aug13.204138.18118@math.lsa.umich.edu> Date: 13 Aug 90 20:41:38 GMT References: <5645@castle.ed.ac.uk> Sender: usenet@math.lsa.umich.edu Organization: University of Michigan Math Dept., Ann Arbor Lines: 49 In article <5645@castle.ed.ac.uk> elev35@castle.ed.ac.uk (R C Smith) writes: >Can anyone tell me what all the .ttp files in gcc do? Any documentation >would be appreciated. >cnm.ttp This prints out the symbol table of a TOS format executable file, if present. Currently the linker spits out Alcyon format symbol info. (I kinda wish it used MWC format. Oh well...) >fixstk.ttp This lets you change the amount of stack space a program will allocate. This amount cannot be changed at runtime, so must be stored as static value in the TOS executable image. >gcc-cc1.ttp This is the main compiler driver & code generator & optimizer. When folx say "gosh, gcc sure uses a ton of memory" this is the culprit. }-) >gcc-cpp.ttp This is the C preprocessor. >gcc-ld.ttp This is the linker, which combines gcc format .o files into TOS format program files. gcc does not use the Alcyon format for its object files. The gcc format is a slightly modified Unix .o format. >gcc-nm.ttp This prints the symbol table info for a gcc .o object file or .lib archive file. >gdb.ttp This is the GNU debugger, a fairly powerful source-level debugger. >printstk.ttp This prints the current stack size of a gnu-compiled TOS program. >sym-ld.ttp This is a modified version of the linker, which creates a symbol file which is necessary for use with gdb. Since the Alcyon symbol format isn't flexible enough to include all the necessary debug info, it gets stored into a separate .sym file. >toglclr.ttp This toggles the fast bit for TOS 1.4 files. If the fast bit is set, the heap is not cleared. If cleared, the heap is zeroed. (And note, the heap is not the same as the BSS, which is always zeroed.) >gcc-as.ttp This is the gnu assembler, which turns the output of gcc-cc1 into object code. It's kind of a Unix-format assembler. Strange syntax. -- -- Howard Chu @ University of Michigan one million data bits stored on a chip, one million bits per chip if one of those data bits happens to flip, one million data bits stored on the chip...