Liste des Groupes | Revenir à cl ada |
Researching how to build an HTTP server (serving a website) on a local machine (MacOS) using AWS (Ada Web Server) and deploy it on a web hosting provider (e.g. 1dollar-webhosting.com).That depends on what the provider would allow you to upload to the host. Likely nothing executable... (:-))
If the host runs on Linux then cross-building (from MacOS to Linux) required, right? GNAT does that, right?It is possible, but far simpler would be a virtual machine running Linux. E.g. I compile for Linux targets on virtual machines. Only for ARM I am using physical machines. You must know what kind of Linux your provider has in order to choose the right version of the libc etc.
The host is already running an HTTP server program (probably Apache). Must it be turned off? How?Ask the provider. You would need the ports free.
In general, can the executable be launched on a VPS (Virtual Private Server)? Which port?No idea.
Will dynamic linking work? I'm guessing not, so, static; but then, will GNAT integrate the right libraries for Linux in the executable?If you ship the libraries together with the server. Then if the host runs Apache it must have some TLS library installed. You must learn the version an link against it.
Will "Community GNAT" do? (Instead of GNAT Pro.)I am not sure if all-static build were possible, e.g. libc, libgnat.
Les messages affichés proviennent d'usenet.