Mail Archives: djgpp/2002/03/30/03:02:00
Well,
First of all, you cannot - and not supposed to - compile just a header
file.
A header file is meant to contain ONLY the declaration of structs,
function prototypes etc.
This header file will be included in some of your source files.
Compile them and not the headers.
There are various steps involved in compilation of the programs -
however simple they maybe.
About the compiler errors, they may be most probably your programming
errors, like syntax errors.
Just redirect them to a text file like err.txt. Then later on view
this text file to find out where exacty you are getting the errors.
The redirection depends on the OS you use.
There might be some specialised utils for redirection or you can use
the plain 'ol UNIX output - redirector ( > ).
If you don't understand anything or this still does not solve your
problem,
you can mail me at kgangakhedkar AT softhome DOT net
Kunal Gangakhedkar
(kgangakhedkar AT softhome DOT net)
"Misael Higareda" <misaelhigis AT hotmail DOT com> wrote in message news:<F28oyag9MlUEcnBfs7A00014dc5 AT hotmail DOT com>...
> Hi.
>
> My name is Misael, and I have some problems compiling programs..
> I've already installed DJGPP, but when I want to compile any program with
> GCC, it sends me alot of errors, what could I do, because I don't know
> what's going on...
>
> I tried to compile demo.h from allegro directory and it makes the same... I
> tried to compile the first program, and sends me the following errors:
>
>
> d:/djgpp/tmp\ccmjeSUz.s: Assembler messages:
> d:/djgpp/tmp\ccmjeSUz.s:26: Error: Rest of line ignored. First ignored
> character
> is `,'.
>
>
>
> Please help me...
>
> Thanks...
>
> Where can I know the answer?
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
- Raw text -