Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Section - 4.05: gcc/gdb

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum ]


Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 4.04: GNU Emacs
Next Document: 4.06: GNU Ghostscript
See reader questions & answers on this topic! - Help others by sharing your knowledge
GNU C version 2.0 and later supports the RS/6000, and compiles straight
out of the box on AIX 3 and AIX 4.1 and 4.2.  You may, however,
experience that compiling it requires large amounts of paging space.

On AIX 4.3, compiling gcc appears to be much more difficult due to
changes for the 64 bit environment. A precompiled gcc is available in
the form of egcs in the Bull archive at <http://www-frec.bull.com/>.

From: Ciaran Deignan <Ciaran.Deignan@bull.net>

Note:
  - there is a link problem on AIX 4.3. Until I find a way of building
    a distribution on AIX 4.3, you'll have to use 'ld'.
  - The package gnu.egcs-1.1.0.0.exe does not contain the C++ compiler
    (G++). However since you can't link a G++ object file with 'ld',
    this is just part of the same problem.

[Editor's note: from the latest postings it appears that the latest
(post 1.1b) egcs snapshots fixes the problem with collect2. The problem
here is that there are no binary distributions yet, one has to bootstrap
this version using IBM's C compiler.]

From: Brent Burkholder <bburk@bicnet.net>

In order to compile and link using egcs on AIX you first
need to download and apply fix APAR IX87327
from
<http://service.boulder.ibm.com/cgi-bin/support/rs6000.support/downloads>
Looking up the APAR # should allow you to download
bos.rte.bind_cmds.4.3.2.2 which fixes all problems.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 4.04: GNU Emacs
Next Document: 4.06: GNU Ghostscript

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)





Last Update March 27 2014 @ 02:11 PM