*BSD News Article 53054


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!uunet!in1.uu.net!news.iij.ad.jp!iijnet!tyd0.tydfam.iijnet.or.jp!tyd0!ken
From: ken@tyd1.tydfam.iijnet.or.jp (ken)
Subject: Q) gcc-2.7.0 
Sender: usenet@tydfam.iijnet.or.jp (TYD0 mail server)
Nntp-Posting-Host: tyd1.tydfam.iijnet.or.jp
Organization: Takeshi Yamada Family Net
Message-ID: <KEN.95Oct14112138@tyd1.tydfam.iijnet.or.jp>
Date: Sat, 14 Oct 1995 02:21:38 GMT
Lines: 22

   Is there anyone successfully installed gcc-2.7.0 and libg++-2.7.0 
on FreeBSD-950928?
   If there are any patches or walkaround for the problem I have below,
please let me know.
  
   Recently, I tried to install gcc-2.7.0 on FreeBSD-950928-SNAP.  
Installation ended up fine with ./configure i386-unknown-freebsd2.1.0.
However, the compiler ddid not allow me to build libg++-2.7.0 
complainning that assembler does not know ".weak" at SLList.cc.

   I found ".weak" in gcc-2.7.0/config/i386/freebsd.h as follows;

   #define ASM_WEAKEN_LABEL(FILE,NAME) \
  do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
       fputc ('\n', FILE); } while (0)

  It may be because of the version difference of "as" which gcc-2.7.0 
assuming, and maybe there are some walkaround for it.

Thank you for your help in advance.