[tex-live] tlmgr invokes cc on OS X
Adam R. Maxwell
amaxwell at mac.com
Tue Oct 29 07:46:07 CET 2013
On Oct 28, 2013, at 22:06 , Norbert Preining <preining at logic.at> wrote:
> The platform setting is only saved into the tlpdb during installation
> time when the architecture is forced.
>
> Now, how can one circumvent this ... it is documented:
> tlmgr platform set <preferred_platform>
>
> After this tlmgr should not use config.guess anymore ....
I can do that, but I'm not sure which one to set; running
'tlmgr platform list' on my machine, I have
(i) universal-darwin
[…]
(i) x86_64-darwin
Of the two, which would be best?
>
> Hope that helps. If you need anything else, let me know.
>
> If there is a different and save way to get the platform name on
> Apple, let me know. We trued a lot of different things, but none
> of them worked on all supported archs/os combinations.
Not a portable way. Using sysctl might give what you're looking for
on Darwin, and is probably more specific than uname (which I'd assume
isn't working on OS X if config.guess is using the C compiler). As
example:
$ sysctl -a |grep [xX]86
kern.version = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
hw.machine = x86_64
kern.version: Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
hw.optional.x86_64: 1
I've no idea what the output is on PPC systems or previous versions,
though we could figure it out.
thanks,
Adam
More information about the tex-live
mailing list