<br><br>On Thursday, November 18, 2021, mnieuw--- via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> On Wed, 17 Nov 2021 01:07:05 -0700<br>
> Phyllis Smith via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br>
> > ><br>
> > > Also, the detection of the number of cpus (about line 143) is done<br>
> > > by a very specific Linux method /proc/cpuinfo) , which does not<br>
> > > work on FreeBSD and macOS.<br>
> > >    <br>
> > So I do an exact replacement from:<br>
> >       CPUS=`grep -c "^proc" /proc/cpuinfo`<br>
> > to:<br>
> >       CPUS=`nproc`<br>
> > Is that correct?  <br>
<br>
Yes, please change it to<br>
        CPUS=nproc<br>
<br>
The single quotes are not needed, those are to prevent shell expansion<br>
within the quotes.<br>
<br>
nproc properly reports number of threads on macOS (after installing<br>
development tools which are needed anyway), and FreeBSD<br>
via an alias.</blockquote><div><br></div><div>on linux it should works since coreutils 8.1 (nov 2009?)</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
FreeBSD does not build as-is, e.g. it uses gmake which doesn't exist<br>
on FreeSD version 13.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><div><br></div><div><a href="https://freebsd.pkgs.org/13/freebsd-amd64/gmake-4.3_2.txz.html">https://freebsd.pkgs.org/13/freebsd-amd64/gmake-4.3_2.txz.html</a></div><div><br></div><div>? </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> nproc needs an alias but that is easy done in the<br>
bsd.bld file. FreeBSD is also very limited in included options, like<br>
is excludes all of thirdparty. I wonder if that is still<br>
relevant, for example I did see LV2 plugins for FreeBSD. Was it<br>
downloaded a lot when there still was a FreeBSD version, or put it<br>
another way, is the effort useful to resurrect it?<br>
<br>
All builds report during configure time that with gcc -V or clang -V<br>
the upper case -V is not known; it probably tries to retrieve the<br>
version number. In both cases, lower case -v gives the version number.<br>
I did see a while ago a msg about outdated <a href="http://configure.ac" target="_blank">configure.ac</a> . Maybe that<br>
would help, I'll see what I can find.<br>
<br>
I don't know whether freeBSD or macOS would be good platforms for<br>
CinGG, but (trying) to build for other platforms is a good way to weed<br>
out hidden problems.</blockquote><div><br></div><div><br></div><div>macos apparently can run x11 apps:</div><div><br></div><div><a href="https://www.xquartz.org/releases/index.html">https://www.xquartz.org/releases/index.html</a></div><div>not sure about sound... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
MatN<br>
<br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" target="_blank">https://lists.cinelerra-gg.<wbr>org/mailman/listinfo/cin</a><br>
</blockquote>