Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!mailrus!rutgers!mit-eddie!uw-beaver!rice!kalliope!luis From: luis@titan.rice.edu (Luis Soltero) Newsgroups: gnu.gcc Subject: 680x0 cross compiler, need help Message-ID: Date: 25 Apr 89 04:32:06 GMT Sender: usenet@rice.edu Distribution: gnu Organization: Rice University Lines: 22 I am posting this for a frind. please e-mail suggestions and comments to ktm@hbar.rice.edu. thanks From ktm@hbar.rice.edu Mon Apr 24 15:55:04 1989 To: luis@titan.rice.edu Hello: I am in the midst of trying to develop a cross-compiler for a 680x0 based machine. I have resolved most difficulties with only minor changes to tm-m68k.h but one problem has me stumped. Unfortunately, unlike most UNIX assemblers and GNU's gas, the assembler I am using requires that all external references and definitions be made only once in a file. I looked and ah-ha there is an ASM_OUTPUT_EXTERNAL that seemed to be just what I was looking for. Alas, when it was defined to produce an external definition for the assembler, a new external reference was issued for each function in which such a function call was issued, i.e. there might be 10 external reference definitions for printf in a single assembler output file. I was wondering if anyone out there knew of a workaround in which gcc is aware of a prior definition of an external? Thank you in advance.