Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!njin!uupsi!sunic!dkuug!compel!her From: her@compel.UUCP (Helge Egelund Rasmussen) Newsgroups: comp.unix.amiga Subject: Re: g++ (was stdio.h incompatibility) Keywords: assembler, as, stdio.h, g++, FILE structure. Message-ID: <1512@compel.UUCP> Date: 20 Jun 91 07:36:52 GMT References: <1991Jun17.101219@cs.utwente.nl> <1619@surf.sics.bu.oz.au> Organization: Compel, Copenhagen, DK Lines: 27 s000623@kowande.bu.oz.au (Jason Patterson) writes: >Installing (or trying to) g++ for AMIX is a nightmare! >BUT... Don't get your hopes up... >The following *BIG* problem still exists... > **** THE STANDARD ASSEMBLER HATES $ SIGNS IN LABELS **** >This is a big problem because EVERY constructor gets a $ sign >put into it's "mangled" name by g++ (standard mangled names for >constructors begin _$_). Well, I haven't AMIX, and I'm working with g++.1.39.0, so might be wrong here... Try to define NO_DOLLAR_IN_LABEL in the tm.h, it should solve this problem. This define is described in cplus_tree.h: Define NO_DOLLAR_IN_LABEL in your favourite tm file if your assembler doesn't allow '$' in symbol names. Hope this will work for you, now if someone could port g++ to AmigaDos.... Helge --- Helge E. Rasmussen . PHONE + 45 36 72 33 00 . E-mail: her@compel.dk Compel A/S . FAX + 45 36 72 43 00 . Copenhagen, Denmark