This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Compilation problems w/ 3.0 on Solaris-2.5.1
- To: "Alexandre Oliva" <aoliva at redhat dot com>
- Subject: RE: Compilation problems w/ 3.0 on Solaris-2.5.1
- From: "Auteria Wally Winzer Jr." <wally dot winzer at ChampUSA dot COM>
- Date: Tue, 7 Aug 2001 16:34:56 -0700
- Cc: <gcc-help at gcc dot gnu dot org>
- Reply-To: <wally dot winzer at ChampUSA dot COM>
Does -mimpure-text needs to added to the whole bootstrap or just for libobjc?
Can you provide an example of how this is to be used?
- Wally Winzer Jr.
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
Behalf Of Alexandre Oliva
Sent: Tuesday, August 07, 2001 3:03 PM
To: wally.winzer@ChampUSA.COM
Cc: gcc-help@gcc.gnu.org
Subject: Re: Compilation problems w/ 3.0 on Solaris-2.5.1
On Aug 7, 2001, "Auteria Wally Winzer Jr." <wally.winzer@ChampUSA.COM> wrote:
> __objc_class_name_Object 0x0 .libs/linking.o
> __objc_class_name_Object 0x0 .libs/Protocol.o
> __objc_class_name_Object 0x0 .libs/NXConstStr.o
> __objc_class_name_NXConstantString 0x4 .libs/linking.o
This is the result of a bug in libobjc. If disabling support for
Objecting C is not an option, adding -mimpure-text to the link command
should get you around this problem. I believe it is fixed for 3.0.1.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me