Open huntergregal opened 3 years ago
In the meantime -assuming you are using idasdk >=7.6:
diff --git a/src/HexRaysCodeXplorer/makefile.mac b/src/HexRaysCodeXplorer/makefile.mac
index 3d3a1de..356616e 100644
--- a/src/HexRaysCodeXplorer/makefile.mac
+++ b/src/HexRaysCodeXplorer/makefile.mac
@@ -59,7 +59,7 @@ all: check-env HexRaysCodeXplorer.$(EXT)
HexRaysCodeXplorer.$(EXT): $(OBJS)
#ln -f -s $(IDA_SDK)/lib/x64_linux_gcc_64/pro.a libpro.a
- ln -f -s $(IDA_SDK)/lib/x86_mac_gcc_32/pro.a libpro.a
+ ln -f -s $(IDA_SDK)/lib/arm_mac_clang_32/pro.a libpro.a
$(CC) $(LDFLAGS) $(LIBDIR) -o HexRaysCodeXplorer.$(EXT) $(OBJS) $(LIBS)
%.o: %.cpp
I built from source (from fe52e16) via the CMake build method on an M1 Mac against idasdk 7.7, and it seems to have built the plugin as a universal binary. I'm using the plugin currently on the Apple Silicon build of IDA 7.7 sp1 with no issues so far.
$ file HexRaysCodeXplorer*.dylib
HexRaysCodeXplorer.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64]
HexRaysCodeXplorer.dylib (for architecture x86_64): Mach-O 64-bit bundle x86_64
HexRaysCodeXplorer.dylib (for architecture arm64): Mach-O 64-bit bundle arm64
HexRaysCodeXplorer64.dylib: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64]
HexRaysCodeXplorer64.dylib (for architecture x86_64): Mach-O 64-bit bundle x86_64
HexRaysCodeXplorer64.dylib (for architecture arm64): Mach-O 64-bit bundle arm64
Any chance of sharing more recent Mac builds so we can avoid the headache of recompiling? <.<
Nvm, got it compiled. Happy to share files for releases if @matrosov et al approve.
Please do.
On Wed, May 10, 2023, 10:04 AM JAGS @.***> wrote:
Nvm, got it compiled. Happy to share files for releases if @matrosov https://github.com/matrosov et al approve.
— Reply to this email directly, view it on GitHub https://github.com/REhints/HexRaysCodeXplorer/issues/97#issuecomment-1542536679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVFAJ7UWGNYL4FISWT62DXFPDCFANCNFSM5DGX7CWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Already shared w @matrosov but here's a link to the 7z– https://drive.google.com/file/d/177EhfAAMEYNddazjNw9He0cofvkquMpR/view?usp=sharing
as title suggests