> Hello > > I read the online docs but found no information on how to > cross-compile uWSGI (for ARM, in this case). > http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html > > "make --help" doesn't mention options for this. > > If someone's already cross-compiled uWSGI, what's the procedure? > Should I set env't variables for eg. CC etc.? > > FWIW, once untarred, the toolchain consists in two directories: > > gcc/ > arm-none-linux-gnueabi/ > bin/ > distributed/ > include/ > info/ > lib/ > libexec/ > man/ > share/ > > rootfsv1.0/ > bin/ > dev/ > etc/ > lib/ > linuxrc -> bin/busybox* > mnt/ > proc/ > sbin/ > usr/ > > Thank you. > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
Why you want to cross compile ? uWSGI build system has basically zero dependancies (a part from gcc and python). You do not need autotools and friends. The build procedure does not take more than 2 minutes on my ekiga and 3 on my raspberry pi The problem with cross compilation is that you need lot of arm libraries that rarely are available as distro packages. By the way if you want to try just override the CC env var: CC=path_to_your_arm_gcc make -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
