Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freebsd: add troubleshooting advice to use gmake instead of make for bootstrapping. #1953

Conversation

spytheman
Copy link
Member

GNU's make is available everywhere.

@medvednikov
Copy link
Member

I'd rather make make work on freebsd, so that the instructions are the same for all systems.

Will test this on a freebsd VM later.

@joe-conigliaro
Copy link
Member

joe-conigliaro commented Sep 19, 2019

There are are a lot of differences between the syntax's. However BSD make will first look for a file called BSDmakefile and gnu make will first look for a file called GNUmakefile before it looks for Makefile.

So I suggest we either:

  1. Use very simple features only, which might work for both.
  2. Call the BSD one BSDmakefile and leave the GNU one as Makefile
  3. Call the BSD one BSDmakefile and GNU one GNUmakefile and have a Makefile.common with some common logic and include it from both other makefiles (if enough logic works for both).

@spytheman @medvednikov What are your thoughts on this?

@sunnylcw
Copy link
Contributor

sunnylcw commented Sep 19, 2019

@joe-conigliaro Your suggestion no. 2 looks good (Call the BSD one BSDmakefile and leave the GNU one as Makefile)

@medvednikov
Copy link
Member

medvednikov commented Sep 19, 2019

Call the BSD one BSDmakefile and leave the GNU one as Makefile

Yes, I agree.

Of course ideally we would

Use very simple features only, which might work for both.

@medvednikov
Copy link
Member

there's now a makefile for freebsd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants