1. RE: Euphoria to DJGPP help needed

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

new topic     » topic index » view message » categorize

2. RE: Euphoria to DJGPP help needed

Cool I'll try it and let you know.
Alvin 
--- Bernie Ryan <xotron at localnet.com> wrote:
> 
> 
> 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
> 
>
> 
> 
>
> 


=====
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.

new topic     » goto parent     » topic index » view message » categorize

3. RE: Euphoria to DJGPP help needed

Sory it took all week, monitor problems. I got this "Bad
command or file name" in Alvin.err. It gets down to linking
then says 
file not found
c:\djgpp\bin\strip.exe
So I took my cloths off and it still didn't work;=/
Alvin 
--- Bernie Ryan <xotron at localnet.com> wrote:
> 
> 
> 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
> 
>
> 
> 
>
> 


=====
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.

new topic     » goto parent     » topic index » view message » categorize

4. RE: Euphoria to DJGPP help needed

Alvin  Koffman wrote:
> Sory it took all week, monitor problems. I got this "Bad
> command or file name" in Alvin.err. It gets down to linking
> then says 
> file not found
> c:\djgpp\bin\strip.exe
> So I took my cloths off and it still didn't work;=/

Alvin:
    Strip.exe is a program that strips any debug symbols
    and information that is contained in your object files
    that you are compiling. The debug information would
    have been added if it had been specified on the command
    line during compiling.
    You may not have it installed in your djgpp bin on your
    system, I think it comes in the binutl djgpp/gnu zip file.
    you can comment out or remove that command from your
    batch file or you can download the utilities from djgpp.
    If you don't use it, it will just create a bigger compiled
    file but should still compile.  
Bernie

new topic     » goto parent     » topic index » view message » categorize

5. RE: Euphoria to DJGPP help needed

Well I found strip.exe where it should be. Here's emake.bat
set CC=c:\djgpp\bin\redir -o alvins.err -eo 
echo on
@echo main_.c
@%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
-fomit-frame-pointer main_.c
@echo init_.c
@%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
-fomit-frame-pointer init_.c
@echo cradle3b.c
@%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
-fomit-frame-pointer cradle3b.c
@echo get.c
@%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
-fomit-frame-pointer get.c
@echo wildcard.c
@%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
-fomit-frame-pointer wildcard.c
@echo linking
@%CC% c:\alvin\cradle3b.o -ocradle3b.exe @objfiles.lnk
@del *.o
@strip c:\alvin\cradle3b.exe
@echo you can now execute: cradle3b.exe
set CC=

Before I put %CC% it gave me an on screen error about line
12 in main.c being undeclaired but doesn't now. still makes
no .exe
Alvin 
--- Bernie Ryan <xotron at localnet.com> wrote:
> 
> 
> Alvin  Koffman wrote:
> > Sory it took all week, monitor problems. I got this
> "Bad
> > command or file name" in Alvin.err. It gets down to
> linking
> > then says 
> > file not found
> > c:\djgpp\bin\strip.exe
> > So I took my cloths off and it still didn't work;=/
> 
> Alvin:
>     Strip.exe is a program that strips any debug symbols
>     and information that is contained in your object
> files
>     that you are compiling. The debug information would
>     have been added if it had been specified on the
> command
>     line during compiling.
>     You may not have it installed in your djgpp bin on
> your
>     system, I think it comes in the binutl djgpp/gnu zip
> file.
>     you can comment out or remove that command from your
>     batch file or you can download the utilities from
> djgpp.
>     If you don't use it, it will just create a bigger
> compiled
>     file but should still compile.  
> Bernie
> 
>
> 
> 
>
> 


=====
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.

new topic     » goto parent     » topic index » view message » categorize

6. RE: Euphoria to DJGPP help needed

Alvin  Koffman wrote:
> Well I found strip.exe where it should be. Here's emake.bat
> set CC=c:\djgpp\bin\redir -o alvins.err -eo 
> echo on
> @echo main_.c
> @%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
> -fomit-frame-pointer main_.c
> @echo init_.c
> @%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
> -fomit-frame-pointer init_.c
> @echo cradle3b.c
> @%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
> -fomit-frame-pointer cradle3b.c
> @echo get.c
> @%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
> -fomit-frame-pointer get.c
> @echo wildcard.c
> @%CC% -c -w -fsigned-char -O2 -mpentium -ffast-math
> -fomit-frame-pointer wildcard.c
> @echo linking
> @%CC% c:\alvin\cradle3b.o -ocradle3b.exe @objfiles.lnk
> @del *.o
> @strip c:\alvin\cradle3b.exe
> @echo you can now execute: cradle3b.exe
> set CC=
> 
> Before I put %CC% it gave me an on screen error about line
> 12 in main.c being undeclaired but doesn't now. still makes
> no .exe 

Alvin:
   Are there any errors in the alvins.err file ?
   Is the objfiles.lnk file in your path ?
   Is the allegro library in your path ?
   Make sure that the cradle3b.exe didn't end up in
   some other directory than where you think it should be.
Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu