Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building on OS X - how?
Hubert Feyrer <hubert%feyrer.de@localhost> wrote:
>On Wed, 10 Aug 2016, coypu%SDF.ORG@localhost wrote:
>> There shouldn't be anything special about building from OS X.
>> You just ran into a setup that happens to not work with it.
>
>Well, that's my question: what _does_ work?
>
>I have OS X 10.10.5 (Yosemite) and no wish to upgrade,
>so pointers on where to get proper Xcode, Command line tools etc. would
>help.
Can you compile a "Hello World" C program with either set of tools ?
>> It'd be good to file a bug report for it, or at least mention where it
>> fails.
>
>Here are the details and errors for two builds, 1) with GCC/LLVM
>(/Developer/usr/bin/cc) and 2) with LLVM/CLANG (/usr/bin/cc).
>
>Short:
>1) /Developer/usr/bin/cc:
> error: 'LONG_MIN' undeclared
> in tools/binutils
This should be in limits.h, it is a part of the C standard.
>2) /usr/bin/cc:
> Undefined symbols for architecture x86_64: "_iconv"
> in external/gpl3/gcc/usr.bin/backend
This should be in libc.
Robert Swindells
Home |
Main Index |
Thread Index |
Old Index