[Prev][Next][Index][Thread]

x86-oskit-gcc



Hi,

I have compiled and installed OSKit (20020317).
Then I tried to compile simple program:

int main() {
    return 1;
}

with x86-oskit-gcc. (By the way the better name for
this compiler is i386-unknown-oskit-gcc)

I got errors

<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
/usr/local/lib/liboskit_c.a(getchar.o): In function `getchar':
/usr/local/src/oskit-20020317/libc/../libc/stdio/getchar.c:26: undefined
referen
ce to `console_getchar'
/usr/local/lib/liboskit_c.a(printf.o): In function `flush':
/usr/local/src/oskit-20020317/libc/../libc/stdio/printf.c:65: undefined
referenc
e to `console_putbytes'
/usr/local/lib/liboskit_c.a(putchar.o): In function `putchar':
/usr/local/src/oskit-20020317/libc/../libc/stdio/putchar.c:26: undefined
referen
ce to `console_putchar'
collect2: ld returned 1 exit status

Definitely it is an error in specs file: some libraries are absent.

Best regards,
Andrew Lipnitsky.