Help on Compiling Emacs on AIX (RS6000)

Help on Compiling Emacs on AIX (RS6000)

Post by Andy Lo » Thu, 11 Oct 1990 06:06:19




> I am trying to install amacs on RS6000 running AIX using the file
> obtained from University of Washington. The compiling went fine, but
> when tring to link the object files using ld, I*the following
> messages:

     ...  ...

0706-244 ERROR: No entry point or export symbols were found
         following garbage collection.

boy, does that sound familiar!


me just yesterday:

1. modify src/ymakefile to use -O, and not -g

unfortunately,
        cc -O -Demacs  -D_BSD  -c data.c
generated an error:
xlc: 1501-229 Compilation ended due to lack of space

skipping optimization for this one routine worked, however.

2. use cc rather than ld to link. (you can remove the reference to -lc)

3. also, I couldn't get the loader to find alloca().

 explicitly including the version thoughtfully provided with the gnuemacs
 distribution finally worked.

the posting:
         use of alloca and optimization under XL C on AIX 3.1

in this newsgroups seems to report a similar problem.

4. I haven't tried the X emulator yet, since eliot seemed to indicate
he was having problems.  stay tuned...

it's a little clunky, but it works.

good luck!

Andy Lowe

 
 
 

Help on Compiling Emacs on AIX (RS6000)

Post by Vic Abe » Thu, 11 Oct 1990 06:38:21




>the posting:
>     use of alloca and optimization under XL C on AIX 3.1

>in this newsgroups seems to report a similar problem.

This may not be a similar problem.  The official solution to the absence
of alloca() is to use

        #pragma alloca

instead.  (See the BSD porting guide in /usr/lpp/bsdport.)  My problem
was that, while the #pragma worked with no CC optimization or with debug
(-g) mode, I couldn't get it to work when I used optimization (-O).  I
don't yet have an answer to that paradox.

 
 
 

Help on Compiling Emacs on AIX (RS6000)

Post by Eliot L » Thu, 11 Oct 1990 06:52:52



>4. I haven't tried the X emulator yet, since eliot seemed to indicate
>he was having problems.  stay tuned...

Actually I tried building it with X and when it didn't work I just zapped X
since I don't really care about having an extra emacs window.  The fix might
be simple but I don't have the time to go hunt it down.  If someone has the
time please pass the fix along and I will put it with the rest of the stuff
at byron.

Also, anyone had any success with building a dumped version?

Eliot

 
 
 

1. Help compiling Rogue on aix/rs6000

I basically just want to waste my time playing games, not get them to
compile.  I got the rogue sources from world.std.com.  But it won't compile.
Make insists there is no makefile, and yet there is.  My guess is that
I have a version geared for bsd 4.3 (indeed, it says as much) so I guess
what I need is a version of rogue (or lookalike) that will compile on
aix/rs6000.  empire would be ok too.

reply via email, please.

--David
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

                                     -*-
    Prognosticator * Gamer * Scribbler * Reader * CTY Technical Assistant
-------------------------------------------------------------------------------
PGP Public Key available on request.

2. Match httpd PID with user ?

3. Need help compiling ARGUS 1.5 on BSDI 2.1 or AIX 3.2.5 (RS6000)

4. linux sometimes DOES and sometimes DOESN'T power off on shutdown

5. Problem with async subprocesses in Emacs on RS6000/AIX

6. PCTel Modem trouble

7. Emacs on RS6000 running AIX 3.2

8. AIC-7902 PROBLEM

9. Emacs won't dump in RS6000 AIX

10. compiling MicroEmacs 3.11 on an RS6000 running AIX

11. Compiling Elm 2.3 on RS6000 (AIX 3.2)

12. compiling gcc on AIX rs6000

13. Need help with executables compiled on AIX 4.3 but being run on AIX 3.2