A
Anonymous
Guest
Hi,
I am evaluating my options for providing CGI-executables written in C and compiled with gcc for Linux.
My preferred platforms are Mac OS X (client) and FreeBSD (servers), and I do programming for both. From Linux, I know only that it exists. Anyway, now I need to produce CGI-exec's for a web presentation that is run by a Linux hoster:
Before I dive deep into Linux for this very limited purpose, I would like to check whether some cross-compiling options may work out. I checked already one option. I used an online compilation service for creating a simple "Hello, World!"-CGI, and it ran fine on said Linux host - of course, for production CGIs this is not an option.
I was thinking of using the Linux Compatibility System of FreeBSD and then create a cross compiling toolchain for producing the CGIs.
Could this work out?
If anybody did this already, please vote up!
Best regards
Rolf
I am evaluating my options for providing CGI-executables written in C and compiled with gcc for Linux.
My preferred platforms are Mac OS X (client) and FreeBSD (servers), and I do programming for both. From Linux, I know only that it exists. Anyway, now I need to produce CGI-exec's for a web presentation that is run by a Linux hoster:
Code:
$ uname -a
Linux RHWEB100 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
Before I dive deep into Linux for this very limited purpose, I would like to check whether some cross-compiling options may work out. I checked already one option. I used an online compilation service for creating a simple "Hello, World!"-CGI, and it ran fine on said Linux host - of course, for production CGIs this is not an option.
I was thinking of using the Linux Compatibility System of FreeBSD and then create a cross compiling toolchain for producing the CGIs.
Could this work out?
If anybody did this already, please vote up!
Best regards
Rolf