Re: compiling gpc on Mac OS 10.10.5 Yosemite
Peter <[email protected]> Mon, 16 Nov 2015 23:20:21 +0000
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
On 16/11/15 18:43, Schneider wrote: > Peter: > > Thanks for the great suggstion! > >> P.S. Assuming you are using this; >> www.microbizz.nl/gpc346u4-sources.dmg > > Yes. > >> More specifically, the immediate problem is the switch statement in >> build-gpc.command >> >> As the OS version appears to be 14*, the 'default' [fail] option is used. >> >> setenv GPC_OSX_VERSION `uname -r` >> switch ($GPC_OSX_VERSION) >> case "10*": > ... > >> Try adding an extra item to the switch statement such as > > Turns out that Apple moved the SDK. After much futzing around I located it. > The additional case is now: > > switch ($GPC_OSX_VERSION) > case "14*": > # Case added by Thomas Schneider 2015 Nov 16 TDS > setenv GPC_DARWIN darwin10 > setenv GPC_OSX_VERSION_NAME 10.10.5 > setenv GPC_SDK /Volumes/SSD2/Macintosh_HD/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk > setenv GPC_ALWAYS_USE_SDK 1 > setenv GPC_PRE_TIGER 0 > breaksw > > That worked! But then it crashed at: > > # work around bug in gcc script > setenv SHELL /bin/bash > # go the the directory the script is in > cd $0:h > > That fails with: > cd build-gpc.command > build-gpc.command: Not a directory. > > So I simply blocked the 'cd' with '#". It's not clear why it was there. > > Anyway, then the compile ran for quite a while, so we are making progress. > > That ran for a while until: > > make[3]: *** [libgcc/./_muldi3.o] Error 1 > make[2]: *** [libgcc.a] Error 2 > make[1]: *** [stage1_build] Error 2 > make: *** [bootstrap] Error 2 > > Now I'm stuck again ... > > Tom > > Thomas D. Schneider, Ph.D. > Senior Investigator > National Institutes of Health > National Cancer Institute > Center for Cancer Research > Gene Regulation and Chromosome Biology Laboratory > Molecular Information Theory Group > Frederick, Maryland 21702-1201 > [email protected] > https://schneider.ncifcrf.gov (current link) > https://alum.mit.edu/www/toms (permanent link) > I would (for now anyway) try building without the sdk, try setting setenv GPC_ALWAYS_USE_SDK 0 Peter _______________________________________________ Gpc mailing list [email protected] https://www.g-n-u.de/mailman/listinfo/gpc