Article View: gnu.gcc.help
Article #52769gcc 2.0/acc compatibility
From: Mark Sommer
Date: Tue, 19 May 1992 14:48
Date: Tue, 19 May 1992 14:48
20 lines
1543 bytes
1543 bytes
What are the known incompatibilities between .o files created with acc and those created with gcc 2.0 (if any). That is, is it safe to link with libraries generated by the two compilers? If not, what C constructs would cause problems? Do any well-known acc-compiled libraries cause problems when linked with your gcc-compiled code? We have reasons for wanting to mix both Sun and Gnu compiled code. For example, with gcc, we can compile with both -g and -O. acc won't allow us to do this. On the other hand, Purify only works with acc. Though I've been arguing for using only one family of compilers (particularly because C++ is now in the equation), I can't seem to convince the people on my project that this would simplify our lives. Now I'm wondering if my fears are unfounded. I know that gdb chokes on acc-compiled code. Are there any issues with respect to the way gcc does register allocation? Any other gotchas? mark -- fmrco!msommer@uunet.uu.net
Technical Details
Message-ID:
<FMRCO!MSOMMER.92May19094849@ampere.uunet.uu.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!fmrco!fmrco!msommerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d030cdba71be2542,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-05-19 02:42:26 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!fmrco!fmrco!msommer From: fmrco!msommer@uunet.uu.net (Mark Sommer) Subject: gcc 2.0/acc compatibility Message-ID: <FMRCO!MSOMMER.92May19094849@ampere.uunet.uu.net> Sender: news@fmrco.uucp Nntp-Posting-Host: ampere Organization: Fidelity Management & Research Co. Distribution: usa Date: Tue, 19 May 1992 14:48:49 GMT Lines: 20