Mail Archives: djgpp/1997/09/12/05:03:25
Manolis Kefalas wrote:
>
> This is a bug report for RHIDE Version 1.3 (Jun 10 1997 09:23:28)
> I am running MS-DOS 6.22
This seems to be all OK.
> In RHIDE, I have problem building any exe file, like:
[snip]
> copmile ends just fine
>
> while linking I get
>
> Creating: hello.exe
> Error: /djgpp/lib\crt0.o(.data+0x92):crt0.s: undefined reference to
> `main'
> Error: c:/djgpp/lib/libc.a(ctr1.o)(.text+0x312):crt1.c: undefined
> reference to `main'
Please excuse my question now (but I saw this problem already by
an other user). Can it be that you have enabled _ALL_ the warning
flags in RHIDE? If yes, than you have also enabled the
-fsyntax-only switch which tells gcc to _NOT_ to produce any
real code and so you will have of course also no main symbol.
If the above is not true, then please run rhide in the following
way:
redir -e err rhide -dc ...
Then do the compile step (Alt-F9) and then the link step (menu
Compile/Link) and then exit rhide. Now please post here the
created file 'err'.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -