This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Errors compiling a perl-generated C code


> Efrain Caro wrote:
> 
> First of all, I'm new to cygwin, not to C language. I was trying to
> compile a C source code generated by the ActivePerl compiler and gcc
> generated errors.

This is not helpful. You need to provide more details -- such as *what*
errors are being generated, perhaps attach a snippet of the code that is
causing the errors, etc.

However, since you're using ActiveState's perl, I'd bet that the code it
is generating has '\r\n' line endings. Try removing the '^M' from the
end of every line and recompile?

> Is it not supposed that those generated programs
> produce error free code. I'm contacting the perl staff too, but
> are known compatibility problems with the Perl compiler-generated code
> and cygwin? If so, how can them be corrected? I'm running over a
> Windows98 environment.
> Thanks,
> Efrain Caro

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]