Skip to content

Using in 2023 #5

@gingerbeardman

Description

@gingerbeardman

In light of there being no binary download that I can see, I tried building using gcc on macOS 12.6.6

$ cd gcc
$ make
gcc -Wall   -c -o ../src/helpdeco.o ../src/helpdeco.c
In file included from ../src/helpdeco.c:25:
../src/helpdeco.h:26:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
make: *** [../src/helpdeco.o] Error 1

I can resolve that with:

#if defined(__MACH__)
  #include <stdlib.h>
#else 
  #include <malloc.h>
#endif  

But further issues appear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions