[swift-users] build-script error

Jeff Ramsey jramsey123 at gmail.com
Sat Jun 11 06:36:20 CDT 2016


Dmitri,

Can you point me to the general areas that would need changes for 32-bit and I'll look to see what would be needed?  Thanks.

Jeff

> On Jun 11, 2016, at 12:31 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> 
> Hi Jeff,
> 
> Karl is right.  Swift is not ported to 32-bit Linux right now --
> sorry!  We would welcome contributions from the community to fill this
> gap.  I would be happy to review the patches and discuss any issues
> that come up.
> 
> Dmitri
> 
>> On Fri, Jun 10, 2016 at 8:06 PM, Karl <razielim at gmail.com> wrote:
>> i686 is a 32-bit system, right? We don’t support Intel 32-bit on Linux
>> (yet?). The only Intel Linux target is x86_64.
>> 
>> 
>> On 10 Jun 2016, at 20:18, Jeff Ramsey via swift-users
>> <swift-users at swift.org> wrote:
>> 
>> Here you go Dmitri.  It's an older Dell 1501 that was given to me; I wiped
>> it and put Ubuntu on it.  Thanks.
>> 
>> Python 2.7.6 (default, Jun 22 2015, 18:00:18)
>> [GCC 4.8.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import platform
>>>>> print(platform.system())
>> Linux
>>>>> print(platform.machine())
>> i686
>>>>> 
>> 
>> Here's some additional information if it's useful:
>> 
>> ~/swift$ lsb_release -a
>> No LSB modules are available.
>> Distributor ID:    Ubuntu
>> Description:    Ubuntu 14.04.3 LTS
>> Release:    14.04
>> Codename:    trusty
>> 
>> ~/swift$ uname -a
>> Linux Inspiron-1501 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:02
>> UTC 2015 i686 athlon i686 GNU/Linux
>> 
>> 
>> 
>> On Fri, Jun 10, 2016 at 12:31 PM, Dmitri Gribenko <gribozavr at gmail.com>
>> wrote:
>>> 
>>> On Fri, Jun 10, 2016 at 9:14 AM, Jeff Ramsey via swift-users
>>> <swift-users at swift.org> wrote:
>>>> I followed directions here to clone the compiler source and build it on
>>>> Ubuntu 14.04:
>>>> 
>>>> https://github.com/apple/swift/blob/master/README.md
>>> 
>>> Hi Jeff,
>>> 
>>> Which architecture are you running on?
>>> 
>>> Could you run "python" in the terminal, type the following script, and
>>> send me the output?
>>> 
>>> import platform
>>> print(platform.system())
>>> print(platform.machine())
>>> 
>>> Dmitri
>>> 
>>> --
>>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
>>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>> 
>> 
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-users
>> 
>> 
> 
> 
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-users mailing list