I believe it is for cross compilation, owing to the comments in the
makefile:
# for cross-compilation on Ubuntu, install the g++-mingw-w64-x86-64 package

# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabi package

# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabihf
package


On Wed, Nov 1, 2023 at 11:17 AM sebb <seb...@gmail.com> wrote:

> On Wed, 1 Nov 2023 at 12:53, Gary Gregory <garydgreg...@gmail.com> wrote:
> >
> > Maybe there are cross compilation issues... I don't know for sure.
>
> But CXX is only used for the link phase.
>
> > What I
> > do know is that it quite tricky and time consuming to get everything just
> > right when I do a release from multiple machines to get macOS, Linux, and
> > Windows binaries correctly compiled, linked, and packaged up. I hope
> > nothing was broken in all the recent commits.
>
> I think there may need to be some more GH tests to check all the
> combinations.
>
> > Gary
> >
> > On Wed, Nov 1, 2023, 8:45 AM sebb <seb...@gmail.com> wrote:
> >
> > > Crypto currently only uses .c files, and the Makefile uses CC
> > > throughout, except for creating the object output. [This has been the
> > > case since the initial release.]
> > >
> > > Using CXX (C++) for the link does not make sense to me - surely CC can
> > > create the object equally well?
> > >
> > > It would simplify builds (and especially docker builds) if C++ could be
> > > dropped.
> > >
> > > But perhaps there is a good reason for using C++ for this step only?
> > >
> > > Sebb
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > > For additional commands, e-mail: dev-h...@commons.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to