Cannot compile the Tiny C Compiler
Ben Woolley
tautolog at gmail.com
Sat Jan 22 09:36:45 PST 2022
Hi Christian,
It needs gmake, not make, which on BSDs is not the same. The README had a note about it *under* the build commands you tried to run:
“Notes: For OSX and FreeBSD, gmake should be used instead of make”
This happens a lot to me, too, where the information I need is further down in the docs.
Typically need to follow the FreeBSD instructions, although not every time. Just be on the lookout for FreeBSD instructions.
Good luck,
Ben
> On Jan 22, 2022, at 9:27 AM, Christian Groessler <chris at groessler.org> wrote:
>
> On 1/22/22 18:18, rempas at tutanota.com wrote:
>> Hi everyone! I'm trying out DragonFlyBSD for the first time and I just went to compile
>> the Tiny C compiler from its official repository and I'm getting errors when trying to
>> use `Make` to compile it. The command I'm trying is `make -j6` and I'm getting a big error
>> log but most lines are the same. The errors are the following:
>> `Invalid line type`
>> `warning: duplication script for target "ifneq" ignored`
>> `warning: using previous script for "ifneq" defined here`
>> I thought that it may not support DragonFlyBSD as it is not listed in the official supported
>> Operating Systems but a number of other BSDs are supported including FreeBSD so I don't
>> know why it should not work on DragonFlyBSD. For anyone that wants to try out, the link for
>> the source is: https://repo.or.cz/tinycc.git
>
>
> In the README there:
>
> Notes: For FreeBSD, NetBSD and OpenBSD, gmake should be used instead of make.
>
>
> You need to use GNU make.
>
> regards,
> chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20220122/b5437597/attachment-0002.htm>
More information about the Users
mailing list