Nick Ing-Simmons wrote:
> Greg <[EMAIL PROTECTED]> writes:
> 
>>...and the environment is:
> 
> 
> Thanks - that in principle answers my "how did you build the C version"
> question. 
> 
> But I would still like to see commands you used to build the emedded 
> version - particularly the g++ ones.
I used
g++ -o interp interp.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
...which expands to...

g++ -o interp interp.c -rdynamic
-Wl,-rpath,/usr/local/lib/perl5/5.8.0/s390-linux-thread-multi/CORE
-L/usr/local/lib
/usr/local/lib/perl5/5.8.0/s390-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.8.0/s390-linux-thread-multi/CORE -lperl
-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/local/lib/perl5/5.8.0/s390-linux-thread-multi/CORE

thanks,
Greg

Reply via email to