| Binary generated by gcc on BSDI are portable or not ? Hi,
I want to know that if i compile a c++ code using g++ on one BSDi box and put it on any other BSDi box which is not having gcc , will it work ?
Also when i tried with a binary generated on FreeBSD (as o/p of g++ only) and when i execute, it give me following error -
$./a.out
bash: ./a.out: No such file or directory
and when i run ldd for it -
$ ldd ./a.out
ldd: can't execute ./a.out (No such file or directory)
but when i run nm -
$ nm ./a.out
00000000 f Test.cpp
0804969c A _DYNAMIC
08049754 A _GLOBAL_OFFSET_TABLE_
.
.
blah blah
can any one help me out that what can be reason for it
thanks,
Raja |