On 8/8/2013 5:46 PM, Attila Krasznahorkay wrote:
Hi Hanspeter,Sorry for the confusion, I should've been clearer. It is possible to compile gccxml using the default clang on the machine. It's just that the latest clang installation has some headers that drive gccxml crazy at runtime. As far as I understand, by giving this setting to the application (GCCXML_COMPILER=llvm-gcc also works by the way...), gccxml encounters headers that it can actually parse correctly.
Please try the attached gccxml.info file (save it to /sw/fink/dists/local/main/finkinfo) and see how it works. It uses Fink's gcc48 to compile. Modifying it to use a different compiler is simple enough, but the problem is that 'gcc' can point to very different compilers, depending on the OS X version, and llvm-gcc will disappear in 10.9 anyway, so setting GCCXML_COMPILER to an Apple provided non-clang compiler from within the Fink package will be tricky. If the user is going to have to manually set GCCXML_COMPILER to their compiler of choice anyway, I can switch gccxml to compile with clang to avoid pulling in the heavy gcc48 dependency.
Hanspeter
Package: gccxml Version: 20130502 Revision: 1 Description: Protein multiple sequence alignment software License: OSI-Approved ### Free to edit and take over Maintainer: Hanspeter Niederstrasser <[email protected]> Source: https://github.com/%n/%n/archive/567213ac765c99d5dfd23b14000b3c7b76274fcb.zip Source-MD5: 60201610978a6917751f77b7e9c49f99 Source-Checksum: SHA1(75ffcab20f176ebd45c0bc835a3a2009c9b01ef4) SourceDirectory: %n-567213ac765c99d5dfd23b14000b3c7b76274fcb Depends: gcc48-shlibs BuildDepends: << cmake, gcc48-compiler << PatchScript: << ### gcc-fsf doesn't like -no-cpp-precomp perl -pi -e 's|-no-cpp-precomp||g' GCC/CMakeLists.txt GCC/configure GCC/configure.in << SetCC: gcc-fsf-4.8 SetCXX: g++-fsf-4.8 GCC: 4.0 CompileScript: << #!/bin/sh -ev mkdir finkbuild pushd finkbuild cmake -DCMAKE_INSTALL_PREFIX:PATH=%p .. popd << InstallScript: << #!/bin/sh -ev pushd finkbuild make install DESTDIR=%d popd << DocFiles: LICENSE.rst README.rst Homepage: http://www.gccxml.org/ DescDetail: << MUSCLE is public domain multiple alignment software for protein and nucleotide sequences. MUSCLE stands for multiple sequence comparison by log-expectation. << DescPackaging: << >From upstream commit 567213ac765c99d5dfd23b14000b3c7b76274fcb <<
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
