EGCS with Solaris ld ?

EGCS with Solaris ld ?

Post by Elf Sternber » Wed, 05 Aug 1998 04:00:00



        I'm trying to build egcs 1.0.3a with gcc 2.8.1 and the Solaris
linker that comes in /usr/ccs/bin.  Around the stage-3 compilation it dies
on me and complains that files in stage 2 and stage 3 are not the same.
Is there a way around this?

                Elf

Elf M. Sternberg - www.halcyon.com/elf
A Decade of Usenet: On-line since August 18, 1988

   I have looked into the abyss, and the abyss has looked into me.
   Neither liked what we saw.
                  --- Brother Theodore

 
 
 

1. TOC overflow: >64K ld -b bigtoc...with egcs (g++) under AIX 4.2.1?

I'm trying to compile KDE under AIX 4.2.1.  It requires g++ to compile.  No
problem, I've got egcs already compiled, which has g++ in it.  I get along fine
until I get to kfm, where I get the following linker error:

ld: 0711-781 ERROR: TOC overflow. TOC size: 115760    Maximum Size: 65536

The man page for ld talks about the -b bigtoc option for the loader 'ld'.  How
do I link it with the bigtoc option using g++?  I try ld directly on the command
line, and depending upon which loader I use (AIX's or egcs's) I get either
'__start' not found, or some other weirdness.  If I could get over this bigtoc
hurdle, I think I have kde ready.

RSVP via e-mail

Tim Gallagher

2. NIS+ and passwd/nispasswd commands

3. g++(egcs)/ld error message

4. Kernel Panic while booting 2.5.44

5. egcs/gcc on AIX4.3.2 ld Error

6. /dev/hdc not a blocking device???

7. egc/egc++

8. bdflush not running ... so?

9. Where is egcs binary for Solaris 7 Sparc

10. Problem with running apps on Solaris built by egcs

11. CC fails where g++, g++-egcs succeeds (solaris 2.5.1)

12. kde-1.1.1 bug (kab & korganizer) on solaris/egcs-1.1.2

13. Building an EGCS PowerPC/Linux Cross Compiler For SPARC/Solaris