source for contrib packages - notably emacs

Does anyone know where I can get the source for the packages? I am particularly interested in emacs. The pre-built package edition (GNU Emacs 21.2.1 (x86-pc-nto-qnx, X toolkit) of 2002-05-31 on localhost) crashes (SEGV) when I do almost anything involving a sub-process (compile, grep etc.) and the source from FSF does not have a QNX configuration available. I assume I’m on my own WRT fixing this, which I will gladly attempt.


From memory in the 6.1 days, I thing emacs was quite a pain. For each new update of the OS it wouldn’t work. Don’t remember the details.

Andrew from cogent is the one that maintained it for a while you might want to get in touch with him ( I beleive)

I’m already feeling the pain.

If I just “./configure” it, it doesn’t find the X Windows stuff.

If I configure it with various --with-x things it compiles until:
gcc -c -D_BSD_SOURCE -I/usr/include -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/home/bob/GNU/src/emacs/emacs-21.2/src -D_BSD_SOURCE -I/usr/include -I/usr/X11R6/include -g -O2 pre-crt0.c
make[1]: *** No rule to make target /lib/crt1.o', needed by temacs’. Stop.

I’ll try Andrew@Cogent and see what he recommends.


I am able to compile emacs.
Find crt1.o, crti.o, crtend.o etc. in your system and make a soft link in /lib