Re: [graphviz-interest] graphviz on iOS

Ryan Schmidt <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On Jul 9, 2013, at 15:36, Emden R. Gansner <[email protected]> wrote:

> There was posting to the Graphviz forum by someone attempting to build Graphviz on iOS
> 
>    http://www.graphviz.org/content/compiling-graphiz-ios
> 
> if anyone has suggestions.

What version is the user using? I tried reproducing this problem, and I do not get that error with the development version from 20130706, but I do get this:


Making all in gvpr
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/common  -I../.. -I../../lib/expr -I../../lib/expr -I../../lib/vmalloc -I../../lib/sfio -I../../lib/ast -I../../lib/ingraphs -I../../lib/common -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -DDFLT_GVPRPATH="\".:/usr/local/share/graphviz/gvpr\"" -I/usr/local/include  -arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fno-common -Wall -c mkdefs.c
/bin/sh ../../libtool  --tag=CC   --mode=link /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc  -arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fno-common -Wall  -arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/usr/local/lib -o mkdefs mkdefs.o  
libtool: link: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fno-common -Wall -arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -o mkdefs mkdefs.o  -L/usr/local/lib
./mkdefs gdefs.h < ../../lib/gvpr/gprdata
/bin/sh: ./mkdefs: Bad CPU type in executable
make[3]: *** [gdefs.h] Error 126
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


That is to say, mkdefs gets compiled for armv7, and then the build system tries to run it on the (x86_64) build system, which of course does not work.

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.