[comp.os.minix] New gcc for MINIX ST ?

holger@pac.uucp (Holger Lesch) (01/25/91)

Hi there !

I`m using MINIX ST 1.5.10 (patchlevel 3) and I`ve got gcc 1.36 from
atari.archive (and also the library from there). I have problems using
gcc with minix: whenever I include <stdio.h>, the linker complains
about missing symbol _iob. I figured out that this is a pointer to the
structure containing the filedescriptors, with the first three entrys
initialized to stdin, stdout, stderr (it correspondents with ACKs
_io_table). I made a small C file that's only setting up this structure.
Together with this, I get my programms linked, but only simple test
programms run as expected.

I think this is because of the old library, made for minix 1.2, that comes
along with gcc. Therefore my question: has anybody made an new library
for gcc and minix 1.5, and besides, has anybody ported a new version of gcc
(we have 1.39 on our boxes) ?
Any hint may be helpful.

In anticipation 
                      Holger

-- 
e-mail: mcvax!unido!tub!pac!holger              snail mail:
        holger@pac.uucp                         Holger Lesch
        holger%pac%tub.BITNET@MITVMA.MIT.EDU    PAC Technology GmbH
fax:	+49 30 341 07 99                        Fritschestrasse 27-28

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (01/28/91)

The newest gcc version is 1.39
With just a small patch to gcc, you can make sizeof() being 'int' (not long)
n 16-bit mode. Then, compile the standard 1.5 libraries.

I have not tested gcc hosted on MINIX, but cross-compiling works with no
problem.

C.v.W.