c - Compiling tcpsplice on a 64-bit machine -


i trying compile small utility called tcpslice. it's typical gnu c application. when run ./configure, here output:

 checking build system type... invalid configuration `x86_64-pc-linux-gnuoldld': machine `x86_64-pc' not recognized configure: error: /bin/sh ./config.sub x86_64-pc-linux-gnuoldld failed 

it appears not support compilation 64-bit linux application. have few questions:

  1. is possible set flags compile application 32-bit , able run on 64-bit operating system?
  2. is possible update configure script support 64-bit linux? if so, making serious code changes in .c files well?
  3. i noticed 64-bit rhel6 machine on network has utility installed , running identical version number (1.2a3). somehow download source used build it? can access rhn if necessary.

is possible set flags compile application 32-bit , able run on 64-bit operating system?

yes. -m32 option.

is possible update configure script support 64-bit linux? if so, making serious code changes in .c files well?

you have make code changes make purely 32 bit application work on 64 bit. here's link talks porting code 32 bit 64 bit.

i sorry, not know answer 3rd question.

hope little information provided me helps in way.


Comments