From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6a5574c972b6a54 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-06 09:00:09 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!vixen.cso.uiuc.edu!hardy.tc.umn.edu!news.nodak.edu!not-for-mail From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Newsgroups: comp.unix.tru64 Subject: Re: Compaq C & gcc Date: 6 Jun 2001 15:49:22 GMT Organization: North Dakota Higher Education Computing Network (NDHECN) Message-ID: <9flje2$g6i$1@news.ndsu.nodak.edu> References: <9fgt57$97q8$1@alpha3305-lc.lonestar.it> <991734380@f1.n7600.z242.fido.de> NNTP-Posting-Host: dogbert.cc.ndsu.nodak.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.ndsu.nodak.edu 991842562 16594 134.129.106.23 (6 Jun 2001 15:49:22 GMT) X-Complaints-To: abuse@nodak.edu NNTP-Posting-Date: 6 Jun 2001 15:49:22 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Xref: archiver1.google.com comp.unix.tru64:2452 In article <991734380@f1.n7600.z242.fido.de>, Tobias Ernst wrote: > > The problem lies buried in the fact that 5.1 has a different assembler > than 5.0(a), and gcc cannot use the GNU assembler on Tru64, but has to > use DEC's assembler. When I was reading the release notes for 5.1, when I got to the note about the new assembler, my first thought was "Hmmm, I bet this will break gcc." Imagine my surprise when I was right. ;-) Luckily, the new assembler provides a command line flag (mentioned in the release notes, I can't find it mentioned in the man page) that will invoke the older assembler. This means that gcc can be built and used to just invoke the older assembler, until the new one works with gcc (may even work now, if patch kit #3 is installed -- I'm not sure). There are at least two ways you might get this to work: 1) create a wrapper script named `as', make it executable, and just have it exec the system `as' with the additional option to get the older assembler. Make sure this is in gcc's build directory while building, and in the platform tools directory after installation. 2) once gcc is installed, you might be able to get rid of the wrapper script altogether. gcc uses (?) a file called `specs' that gets installed deep under the lib/gcc-lib directory that has entries for how to invoke various tools. There *might* be an entry for `as'. If you add the necessary flag to get the old as, that *might* be all gcc needs, from that point on. I haven't tried either of these on 5.1, but #1 should be fairly easy to accomplish. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164