Then you should have a module map for Glibc in the build products. Dmitri
On Thu, Mar 24, 2016 at 2:32 PM, Труб Илья <it...@yandex.ru> wrote: > I have built all targets for arm (including modules and libraries) within the > native arm environment on arm-emulator with chroot. > > 25.03.2016, 00:25, "Dmitri Gribenko" <griboz...@gmail.com>: >> On Thu, Mar 24, 2016 at 2:03 PM, Труб Илья <it...@yandex.ru> wrote: >>> Thanks for your answer, Dmitry. I will look for examples of module maps in >>> test sources. >> >> You shouldn't need to. If you have built Swift for arm, you should >> have the right one produced by the build system. >> >> How did you compile the standard library for arm? >> >> 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 <griboz...@gmail.com>*/ -- 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 <griboz...@gmail.com>*/ _______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev