configs  Check-in [5187dcf500]

Overview
Comment:cross.fish: Add classic macOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5187dcf500af33762d1abb32babbe10c2cbb5a6c8f0504760f28c98340951a16
User & Date: js 2022-11-25 22:22:24
Context
2022-11-27
14:34
fish/functions/pws.fish: Fix typo check-in: 5ce6a066ea user: js tags: trunk
2022-11-25
22:22
cross.fish: Add classic macOS check-in: 5187dcf500 user: js tags: trunk
22:16
Bring zsh and fish back in sync check-in: 6be55bde09 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to fish/functions/cross.fish.

80
81
82
83
84
85
86



















87
88
89
90
91
92
93

            set -gx OBJC $CC
            set -gx OBJCPP $CPP
            set -gx OBJCXX $CXX
            set -gx OBJCPPXX $CXXPP
            set -gx IPHONEOS_DEPLOYMENT_TARGET 10.0
            set -g cross_host $archs[1]-apple-darwin



















        case mingw
            set -l pkg
            switch $argv[2]
                case i686 x86_64
                    set pkg mingw-w64-$argv[2]-gcc
                    set -g cross_host $argv[2]-w64-mingw32
            end







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112

            set -gx OBJC $CC
            set -gx OBJCPP $CPP
            set -gx OBJCXX $CXX
            set -gx OBJCPPXX $CXXPP
            set -gx IPHONEOS_DEPLOYMENT_TARGET 10.0
            set -g cross_host $archs[1]-apple-darwin
        case macos
            if test -z "$retro68_path"
                echo 'Please set retro68_path!'
                return 1
            end

            set PATH $retro68_path/bin $PATH

            switch $argv[2]
                case m68k
                    set -g cross_host m68k-apple-macos
                case ppc
                    set -g cross_host powerpc-apple-macos
            end

            if test (count $argv) != 2 -o -z "$cross_host"
                echo 'Usage: cross macos m68k|ppc'
                return 1
            end
        case mingw
            set -l pkg
            switch $argv[2]
                case i686 x86_64
                    set pkg mingw-w64-$argv[2]-gcc
                    set -g cross_host $argv[2]-w64-mingw32
            end