bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45934: native-comp - Dylib ID of ELN files not optimal


From: Alan Third
Subject: bug#45934: native-comp - Dylib ID of ELN files not optimal
Date: Fri, 6 Aug 2021 17:37:17 +0100

On Fri, Aug 06, 2021 at 12:49:39PM +0200, Lars Ingebrigtsen wrote:
> Alan Third <alan@idiocy.org> writes:
> 
> > I finally found the code that works it out for Homebrew. I've never
> > used MacPorts but I think all you need to do is something similar to
> > (from configure.ac:3820):
> >
> >     CFLAGS="$CFLAGS -I${BREW_LIBGCCJIT_PREFIX}/include"
> >     LDFLAGS="$LDFLAGS -L${brew_libdir} -I${BREW_LIBGCCJIT_PREFIX}/include"
> >
> > Where "${BREW_LIBGCCJIT_PREFIX}/include" is where the include files
> > are and ${brew_libdir} is where the .so files are.
> 
> Ah, thanks.  With that I was able to cobble together a patch to make it
> compile under Macos with Macports, but it obviously needs more work
> before pushing.  I'm not really familiar with the "port" command at all
> -- can I get it to cough up which gcc version is installed, for
> instance?

If you look at the line just above the CFLAGS one in configure.ac
there's a horrible little find/sed script that I had to come up with
to work out the path to the lib directory because homebrew sticks them
in a directory named 10 or 11 or whatever depending on the version of
gcc. Perhaps it can be generalised for Macports too?

-- 
Alan Third





reply via email to

[Prev in Thread] Current Thread [Next in Thread]