But this post says that - pcc can now build a bootable OpenBSD
-current x86 kernel. So I suppose that you will have better chance
with current and not release/stable.

On Sun, Jan 3, 2010 at 3:41 AM, Jesus Sanchez <zexe...@gmail.com> wrote:
> As anounced in undeadly.org i've started trying pcc for little things
> and personal sources and in case of find bugs, report them. But this
> issue seems more like i'm missing something.
>
> My box it's a fresh OpenBSD 4.6 relase install (i've tested this issue
> in other machine with a fresh install)
>
> The way I installed pcc was doing make install on /usr/src/usr.bin/pcc .
> I made a simple helloworld to test it but it didn't compiled. (error
> returned at end of the mail). The source is:
>
> #include <stdio.h>
>
> int main () {
> B  printf("Hello world\n");
> B  B return 0;
> }
>
> gcc -Wall compiled without problems but in pcc it doesn't works.
>
> this is the output of "pcc -v -o helloworld helloworld.c" and
> I have no clue about what causes it:
>
> ------------------------------------------------------------------
>
> /usr/local/libexec//cpp -v -D__PCC__=0 -D__PCC_MINOR__=9
> -D__PCC_MINORMINOR__=9 -D__OpenBSD__ -D__unix__ -D__i386__ -D__i386
> -D__ELF__ -S /usr/include/ -I /usr/lib/pcc/TARGMACH-OpenBSD/0.9.9/include
> helloworld.c /tmp/ctm.1TiiMk
> /usr/local/libexec//ccom_i386 -v /tmp/ctm.1TiiMk /tmp/ctm.0IDb4j
> /usr/include//time.h, line 112: syntax error
> /usr/include//time.h, line 112: syntax error
> /usr/include//time.h, line 116: syntax error
> /usr/include//time.h, line 116: syntax error
> /usr/include//time.h, line 118: syntax error
> /usr/include//time.h, line 118: syntax error
> /usr/include//stdio.h, line 219: syntax error
> /usr/include//stdio.h, line 219: syntax error
> /usr/include//stdio.h, line 225: syntax error
> /usr/include//stdio.h, line 225: syntax error
> /usr/include//stdio.h, line 234: syntax error
> /usr/include//stdio.h, line 234: syntax error
> /usr/include//stdio.h, line 266: syntax error
> /usr/include//stdio.h, line 266: syntax error
> /usr/include//stdio.h, line 267: syntax error
> /usr/include//stdio.h, line 268: syntax error
> /usr/include//stdio.h, line 270: syntax error
> /usr/include//stdio.h, line 270: syntax error
> /usr/include//stdio.h, line 271: syntax error
> /usr/include//stdio.h, line 273: syntax error
> /usr/include//stdio.h, line 273: syntax error
> /usr/include//stdio.h, line 274: syntax error
> /usr/include//stdio.h, line 276: syntax error
> /usr/include//stdio.h, line 276: syntax error
> /usr/include//stdio.h, line 277: syntax error
> /usr/include//stdio.h, line 278: syntax error
> /usr/include//stdio.h, line 280: syntax error
> /usr/include//stdio.h, line 280: syntax error
> /usr/include//stdio.h, line 281: syntax error
> /usr/include//stdio.h, line 339: syntax error
> /usr/include//stdio.h, line 339: syntax error
> /usr/include//stdio.h, line 339: compiler error: too many errors
>
>



--
http://www.openbsd.org/lyrics.html

Reply via email to