H
Hal Vaughan
I have a problem with port forwarding and I have been working on it for over
2 weeks with no luck. I have found C programs that almost work and Java
programs that almost work, but nothing that does what I need. I've even
tried writing a port forwarder in Java and found problems that nobody seems
to have the answer to in forums. I need to make it work essentially the
same on both Windows and Linux.
There is one program, in C, that comes close to what I need. It is
compilable and even has binaries for Windows. The problem is it does not
have static binaries for Linux. Now, please, before someone starts saying,
"Go away. It's a Linux problem, as in Linux forums," first, I have asked
questions there and received almost no responses. Second, at this point,
my questions are more focused on C than on an OS. (I think that's why I
didn't get help in Linux forums -- it's more a C question.)
Basically what I need to do is to either be able to create static binaries
for Linux or find a way to make sure I can keep the libraries it is
compiled with available (the program would always be run from a CD) so it
can be somehow forced to use them instead of the regular system libraries.
I think my best bet is static binaries.
I've been programming in Perl and Java for 4-5 years now (all self taught).
It looks like the only solution left for me is to learn enough about C and
building C programs to do it myself. I've read a bit of C before and can
often follow the logic of C source code. But the books I've read had very
little on the ./configure && make && make install process, which is what I
think I need now.
How hard is it to learn the process in building a program?
How hard is it to make sure a program is built with static libraries in
stead of shared object libraries?
Is it possible to learn enough of this to be able to build a static binary
in a few days or a week?
And, lastly, what books or links would people recommend for this?
Thanks for any help on this.
Hal
2 weeks with no luck. I have found C programs that almost work and Java
programs that almost work, but nothing that does what I need. I've even
tried writing a port forwarder in Java and found problems that nobody seems
to have the answer to in forums. I need to make it work essentially the
same on both Windows and Linux.
There is one program, in C, that comes close to what I need. It is
compilable and even has binaries for Windows. The problem is it does not
have static binaries for Linux. Now, please, before someone starts saying,
"Go away. It's a Linux problem, as in Linux forums," first, I have asked
questions there and received almost no responses. Second, at this point,
my questions are more focused on C than on an OS. (I think that's why I
didn't get help in Linux forums -- it's more a C question.)
Basically what I need to do is to either be able to create static binaries
for Linux or find a way to make sure I can keep the libraries it is
compiled with available (the program would always be run from a CD) so it
can be somehow forced to use them instead of the regular system libraries.
I think my best bet is static binaries.
I've been programming in Perl and Java for 4-5 years now (all self taught).
It looks like the only solution left for me is to learn enough about C and
building C programs to do it myself. I've read a bit of C before and can
often follow the logic of C source code. But the books I've read had very
little on the ./configure && make && make install process, which is what I
think I need now.
How hard is it to learn the process in building a program?
How hard is it to make sure a program is built with static libraries in
stead of shared object libraries?
Is it possible to learn enough of this to be able to build a static binary
in a few days or a week?
And, lastly, what books or links would people recommend for this?
Thanks for any help on this.
Hal