From 5a0942d721c8afb823042f9a7d96c28a1762a6af Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 2 Oct 2020 19:18:00 +0530 Subject: Publish deploy 2020-10-02 19:18 --- posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html') diff --git a/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html b/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html index e1b18af..0a3935d 100644 --- a/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html +++ b/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html @@ -1,4 +1,4 @@ -Compiling AutoDock Vina on iOS | Navan Chauhan
3 minute readCreated on June 2, 2020Last modified on September 15, 2020

Compiling AutoDock Vina on iOS

Why? Because I can.

Installing makedepend

makedepend is a Unix tool used to generate dependencies of C source files. Most modern programs do not use this anymore, but then again AutoDock Vina's source code hasn't been changed since 2011. The first hurdle came when I saw that there was no makedepend command, neither was there any package on any development repository for iOS. So, I tracked down the original source code for makedepend (https://github.com/DerellLicht/makedepend). According to the repository this is actually the source code for the makedepend utility that came with some XWindows distribution back around Y2K. I am pretty sure there is a problem with my current compiler configuration because I had to manually edit the Makefile to provide the path to the iOS SDKs using the -isysroot flag.

Editing the Makefile

Original Makefile ( I used the provided mac Makefile base )

BASE=/usr/local +Compiling AutoDock Vina on iOS | Navan Chauhan
3 minute readCreated on June 2, 2020Last modified on September 15, 2020

Compiling AutoDock Vina on iOS

Why? Because I can.

Installing makedepend

makedepend is a Unix tool used to generate dependencies of C source files. Most modern programs do not use this anymore, but then again AutoDock Vina's source code hasn't been changed since 2011. The first hurdle came when I saw that there was no makedepend command, neither was there any package on any development repository for iOS. So, I tracked down the original source code for makedepend (https://github.com/DerellLicht/makedepend). According to the repository this is actually the source code for the makedepend utility that came with some XWindows distribution back around Y2K. I am pretty sure there is a problem with my current compiler configuration because I had to manually edit the Makefile to provide the path to the iOS SDKs using the -isysroot flag.

Editing the Makefile

Original Makefile ( I used the provided mac Makefile base )

BASE=/usr/local BOOST_VERSION=1_41 BOOST_INCLUDE = $(BASE)/include C_PLATFORM=-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.4 -- cgit v1.2.3