How to compile fcgi header c++ files *.h in the command line.

Waldemar Biernacki <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hey!

I have checked fcgi with perl and it works very well. 

Now I would like to compare it to c++ but I have problems.
I've spent many hours to find out how to use these headers files (with their 
sources) to get simple Fastcgi-C++ application which CAN BE COMPILED IN 
COMMAND LINE. 

I am expecting such a command:
c++  files_1.c files_2.cpp ... -o my_app my_app.cpp

I can add that this command:
c++  fcgi_stdio.c -o my_app my_app.cpp
results in compilation without any complaints but the result couses errors 
when I try to use it in apache (internal errors). Of course in 
Apache-fastcgi-perl everything is OK.

my workstation/server is linux 2.6.7:
[root@trzciniak cpp]# c++ --ver
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6)
------------
Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7f DAV/2 PHP/4.3.10 
mod_fastcgi/2.4.2 Server at trzciniak Port 443
------------

regards
Waldemar Biernacki

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.