help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing entry point function


From: jg
Subject: Re: Changing entry point function
Date: Thu, 09 Aug 2007 05:24:02 -0000
User-agent: G2/1.0

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]