*BSD News Article 74140


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!news-stk-200.sprintlink.net!news.sprintlink.net!news-chi-13.sprintlink.net!news.mindspring.com!usenet
From: Ron Bolin <rlb@mindspring.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Compiling V Portable C++ GUI on FreeBSD
Date: Thu, 18 Jul 1996 19:44:09 -0400
Organization: MindSpring Enterprises
Lines: 62
Message-ID: <31EECC49.794BDF32@mindspring.com>
NNTP-Posting-Host: user-168-121-25-139.dialup.mindspring.com
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1CFBAE3959E2B60015FB7483"
X-Mailer: Mozilla 3.0b5 (X11; I; FreeBSD 2.1-STABLE i386)
CC: wampler@cs.unm.edu

This is a multi-part message in MIME format.

--------------1CFBAE3959E2B60015FB7483
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In attempting to build Bruce Wampler's C++ GUI framework.

I ran across the following assembler error indicated in the attached
file:

A groak about .weak unknown pseudo-op from as. I am using pgcc (2.7.2)
and the 
orig as with 2.6.3. Is a newer version of gas/as available that can
resolve
the .weak tag?

Thank's in advance.
Ron

PS: I am using 2.1-stable with SWIM 2.0 Motif.
hardware: Intel 133MH Pent, e/w 64MB RAM, 512KB L2,
SCSI disk, CD and tape.

-- 
****************************************************************************
Ron Bolin: rlb@mindspring.com, 
matrlbx@indigo4.cs.gsu.edu                 *
Home:
770-992-8877                                                         *
****************************************************************************

--------------1CFBAE3959E2B60015FB7483
Content-Type: text/plain; charset=us-ascii; name="bug.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="bug.txt"

g++ -v -c -O -I/usr/X11/include -I/home/rlb/src/v/v/includex  -o obj/intel/vapp.o srcx/vapp.cxx
 gcc -v -c -O -I/usr/X11/include -I/home/rlb/src/v/v/includex -o obj/intel/vapp.o srcx/vapp.cxx
Reading specs from /usr/local/lib/gcc-lib/pentium-unknown-freebsd/2.7.2p/specs
gcc version 2.7.2p
 /usr/local/lib/gcc-lib/pentium-unknown-freebsd/2.7.2p/cpp -lang-c++ -v -I/usr/X11/include -I/home/rlb/src/v/v/includex -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -D__unix__ -D__i386__ -D__FreeBSD__ -D__386BSD__ -D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -D__OPTIMIZE__ srcx/vapp.cxx /var/tmp/cc000968.ii
GNU CPP version 2.7.2p (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/X11/include
 /home/rlb/src/v/v/includex
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/pentium-unknown-freebsd/include
 /usr/local/lib/gcc-lib/pentium-unknown-freebsd/2.7.2p/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/pentium-unknown-freebsd/2.7.2p/cc1plus /var/tmp/cc000968.ii -quiet -dumpbase vapp.cc -O -version -o /var/tmp/cc000968.s
GNU C++ version 2.7.2p (80386, BSD syntax) [Intel386 cpu]  compiled by GNU C version 2.7.2p.
 as -o obj/intel/vapp.o /var/tmp/cc000968.s
/var/tmp/cc000968.s: Assembler messages:
/var/tmp/cc000968.s:1760: Error: Unknown pseudo-op:  `.weak'
gmake: *** [obj/intel/vapp.o] Error 1

--------------1CFBAE3959E2B60015FB7483--