From owner-freebsd-questions Thu Nov 7 5:41:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC4C937B401 for ; Thu, 7 Nov 2002 05:41:46 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD5343E3B for ; Thu, 7 Nov 2002 05:41:46 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 48169 invoked from network); 7 Nov 2002 13:41:45 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 7 Nov 2002 13:41:45 -0000 Message-ID: <3DCA6D6C.90306@liwing.de> Date: Thu, 07 Nov 2002 14:41:00 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: shubha mr Cc: freebsd-questions@FreeBSD.ORG Subject: Re: end of line ^M References: <20021107133156.38987.qmail@web41106.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message