shubha mr wrote:
Hi,
I have developed a device driver for BSD and I mailed
it to a customer from a windows machine.But the driver
did not compile on the target BSD machine.we found
that because the src files got ^M's for every end -of
-line beacause of windows,and hence the compile did
not go through.Is there any flag that I  can set in
the makefile for gcc so that the end of line charaters
are ignored during compilation?

Please help urgently.I have the scripts to remmove
this ^M's but if I can modify the makefile to set some
flag then it will be a much better solution.
Wouldn't it much better you use an editor which is able to edit files in unix node? There're several one's, eg.
- Mr. Ed: http://www.utopia-planitia.de/
- Programmers File Editor
- Visual Slick-Edit
- WinEdit
...

You can also use the dosunix-port which is able to format dos file into unix and vice versa.

Thankyou
shubha
Jens
--
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                  gggg    06112 Halle
                                     g
                                 g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to