Missing alltypes.h

Home Forums Forum Missing alltypes.h

This topic contains 4 replies, has 2 voices, and was last updated by  rich 7 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5345

    Dillon

    Hello,

    I’m having an issue trying to compile for ppc64.

    /opt/x-tools/ellcc/bin/../libecc/include/linux/stdio.h:22:10: fatal error: ‘bits/alltypes.h’ file not found
    #include <bits/alltypes.h>

    Should be looking in the ppc64/linux/bits dir (where it exists) or where stdio.h is located?

    #63496

    rich
    Keymaster

    Hi Dillion,

    What version are you using? Precompiled or built from source?

    -Rich

    #76690

    Bracket

    Also have this issue when trying to compile for i386-w64-mingw32, x86_64-w64-mingw32 is fine.

    example:

    /home/user/Downloads/ellcc/bin/ecc -target i386-w64-mingw32 -o hello.exe hello.c
    In file included from hello.c:1:
    /home/user/Downloads/ellcc/bin/../libecc/include/stdio.h:22:10: fatal error: 
          'bits/alltypes.h' file not found
    #include <bits/alltypes.h>
             ^
    1 error generated.

    hello.c:

    #include <stdio.h>
    
    main() { printf("hello, world\n"); }
    
    

    Using precompiled ellcc-x86_64-linux-0.1.30. Last time I compiled for i386 Windows was around July 2015 using whatever the latest ELLCC release was then, so I’m not when this started happening. Am I perhaps just missing something embarrassingly simple?

    #76692

    Bracket

    Solved the issue I was having. It appears libecc/config/i386-w64-mingw32 was renamed to libecc/config/x86_32-w64-mingw32 in r6060 and Using ELLCC was never updated.

    Quite embarrassingly simple, indeed.

    #76694

    rich
    Keymaster

    Hi Bracket,

    Sorry about that. I’ve updated Using ELLCC. I’m also thinking that it might be a good idea to error or warn about a -target option that doesn’t refer to a config file.

    -Rich

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.