G++ on ESIX V/386, anyone?

Kayvan Sylvan decwrl!apple.com!satyr!kayvan at uunet.uu.net
Fri Dec 14 13:58:31 AEST 1990


--text follows this line--
Anyone got G++ up on ESIX 5.3.2 D??

So far I've done the following:

1. Brought up gcc 1.37.1 without any trouble at all. This generates
   COFF object files and SDB symbols (thus no GDB support).

2. Compiled g++-1.37.1 with gcc. Again, all went smoothly. I have it
   compiled with USE_COLLECT. (not gas and gnu-ld). Tried compiling a
  simple program and the loader complained about not finding libg++.

3. So... I grabbed libg++-1.37.0 and attempted to compile it on my
  system. The result:

	    (cd src; make GXX="g++"  GXXFLAGS="-DUSG
    -I/usr/local/src/libg++-1.37.0/g++-include -g -O -fstrength-reduce \
    -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized \
    -Wall  " GXXLDFLAGS="-L/usr/local/src/libg++-1.37.0/src -lg++ -lm "\
    LIBDIR="/usr/local/lib"\
    SRCIDIR="/usr/local/src/libg++-1.37.0/g++-include" CC="gcc"\
    CFLAGS="-DUSG -I/usr/local/lib/gcc-include -I/usr/include\
    -I/usr/local/src/libg++-1.37.0/g++-include -g -O -fstrength-reduce \
    -fdelayed-branch  -Wall  " RANLIB="echo" LDXX="/usr/local/lib/gcc-ld" \
    GXXCRT1="/usr/local/lib/crt1+.o" MAKE="make" prefix="/usr/local" \
    VPATH="/usr/local/src/libg++-1.37.0/g++-include")

	    g++ -DUSG -I/usr/local/src/libg++-1.37.0/g++-include -g -O \
    -fstrength-reduce  -felide-constructors -fschedule-insns \
    -fdelayed-branch -fsave-memoized  -Wall   -c  AllocRing.cc
    Assembler: AllocRing.cc
	    aline 4	: syntax error
	    aline 9	: syntax error
	    aline 40	: syntax error
	    aline 42	: syntax error
	    aline 90	: syntax error
	    aline 92	: syntax error
	    aline 138	: syntax error
	    aline 139	: syntax error
	    aline 189	: syntax error
	    aline 191	: syntax error
	    aline 222	: syntax error
	    aline 222	: syntax error
	    aline 223	: syntax error
	    aline 224	: Illegal mnemonic
	    aline 224	: syntax error
	    aline 230	: syntax error
	    aline 231	: syntax error
	    aline 232	: syntax error
	    aline 249	: syntax error
	    aline 258	: syntax error
	    aline 284	: syntax error
	    aline 286	: syntax error
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.

It seems that g++/gcc is generating some instructions that the stock
``as'' does not know how to handle.

I've tried getting COFF-encapsulation to work and the gcc compiles
without trouble, but when I compile any program with it, it seems to
compile and the resultant executable does *nothing*.

I'm not sure how to proceed. Is there anything special I need to know
or do?

Thanks for any ideas.

			---Kayvan

-- 
| Kayvan Sylvan       Unix/C, GNU tools   879 Lewiston Drive   408-978-1407  |
| Sylvan Associates   GUIs, Databases     San Jose, CA 95136  Think Globally |
|                     Networking          apple!satyr!kayvan   Act Locally   |



More information about the Comp.unix.sysv386 mailing list