> g++ -Wl,-emymain__Fv a.o > > Now the linker says: > /usr/lib/crt1.o(.text+0x18): In function `_start': > : undefined reference to `main' > collect2: ld returned 1 exit status >
You may provide a dummy main and try the above again. Why do you want to use different entry rather than main ? Just curious. JG _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus