Re: compiling gpc on Mac OS 10.10.5 Yosemite
Schneider <[email protected]> Mon, 16 Nov 2015 19:19:01 -0500
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
Jonas:
> Xcode 7 and later have replaced the system assembler with Clang, which
> doesn't support stabs debug information. If there are any places where you
> can specify options to be used while compiling libgcc.a, try adding the
> -gdwarf-2 flag.
Thanks for the suggestion.
libgcc.a is not mentioned in build-gpc.command. I guessed:
# setenv GPC_MAKE_FLAGS 'CC="gcc -arch i386"'
# TDS:
setenv GPC_MAKE_FLAGS 'CC="gcc -arch i386 -gdwarf-2"'
but it failed as above. However the code does say:
# build and install a dynamic libgpc
I was not clear where to inject your suggestion.
Maybe one could force the use of an open source gcc instead of Clang?
> You could also try downgrading to Xcode 6.4, which still shipped with the
> old assembler. You can get it from https://developer.apple.com/downloads/
I wouldn't want to do that because it would put us in a bad position
later when Xcode 6.4 is no longer around. Better to move forward if possible.
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
https://schneider.ncifcrf.gov (current link)
https://alum.mit.edu/www/toms (permanent link)
_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc