Solaris assembler error when running g++
Colin Thomas
colin@designresources.co.uk
Wed Jul 12 07:16:00 GMT 2000
Hi,
I wonder if anyone might know what the following is relating to.
I have some C++ that was written on a PC and I want to recompile for UNIX
(only ANSI functions were used). When I compile using g++ (2.81) I get:
g++ -c -O2 -fno-strength-reduce -o VerilogCode.o VerilogCode.cpp
/usr/ccs/bin/as: "/var/tmp/cc_SANk_.s", line 15292: error: can't compute value of an expression involving an external symbol
When I go and look at /var/tmp/cc_SANk_.s the file is gone :-(
I have other C++ code that compiles okay - just a couple get this warning - What areas should I be looking in
to resolve it ??
I look forward to your collective thoughts..
best regards
Colin Thomas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Colin Thomas.
| Design Resources.
|
| Email : colin@designresources.co.uk
| Tele : (44) 1234 240562
| Fax : (44) 1234 241262
|
| Address : Design Resources,
| 27 Market Place,
| Olney,
| Buckinghamshire,
| United Kingdom.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Gcc-help
mailing list