perl embed problem

2002-12-08 Thread Ramprasad A Padmanabhan
hello all I think i am missing out something very small but not able to figure that out I have a very small c script ( taken from advanced perl by sriram srinivasan ) I am trying to compile it as given in the book and am not able to I am using gcc on redhat 7.2 gcc -I/usr/lib/perl5/5.6.0/i3

Re: perl embed problem

2002-12-09 Thread Ramprasad A Padmanabhan
Sorry for bothering you all I did some google research myself and found the answer I had to do export W=`perl -MExtUtils::Embed -e ccopts -e ldopts ` gcc $W embed.c and it compiles file Ramprasad A Padmanabhan wrote: hello all I think i am missing out something very small but not able to