RE: Euphoria to DJGPP help needed
- Posted by Bernie Ryan <xotron at localnet.com> Apr 08, 2002
- 438 views
Alvin Koffman wrote: > I've never used the translator before, and need some help > > 1) is there a way to output errors to a text file for > reference like Euphorias .err file? I tried putting copy > con> error.txt in the emake.bat but it didn't work. > > 2) The .ex program runs fine but the translator says > something is not defined in one of the .c files. That's why > I need to save the output. > Alvin > > > ===== > See my homepage at > http://ka9qlq.tripod.com/home/ > and where I live at > http://ka9qlq.tripod.com/CCC/ > > This is a 256 Megabyte 400 Mhz 13 Gig. plug and pray system. Alvin: -- This sets an enviorment variable CC to the following line. set CC=d:\djgpp\bin\redir -o alvins.err -eo d:\djgpp\bin\gcc -- Then ON EACH LINE of your emake.bat file change: FROM gcc TO THIS %CC% -- At the end of your emake.bat file to remove the enviorment variable. set CC= -- What will happen is all the errors will be redirected into -- a file called alvins.err Bernie