Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Sat, 28 Jun 2003 23:00:21 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Harald Houppermans cc: cygwin AT cygwin DOT com Subject: Re: free pascal cross compiler from windows to linux working. In-Reply-To: <001401c33de6$621c9a80$395d79d9@cp250405a> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Harald, Replies inline below. On Sun, 29 Jun 2003, Harald Houppermans wrote: > The free pascal 1.0.6 cross compiler host windows target linux is now > working. > > I used cygwin, binutils-2.14 and free pascal. > > ( mingw unfortunately did not working: missing bison, flex, etc :) ) > > I tested a simple hello world program with knoppix ( linux running from > cd-rom ). > > Then I also tested it with a red hat linux server. > > The only problem seems to be that the hello world is denied access. > > It says: permission denied... > > That is probably easily solved with chmod. > > I am just wondering if the free pascal compiler can set these permission > automatically for the linux executables. The permissions probably *are* set by the compiler, but copying the files to Linux destroys permissions unless you give the "-p" option to cp/scp. Transferring executables via ftp will probably destroy permissions also. > ( Is that the right term, linux executables ? :) ) > > So other weird red hat linux server behaviour... I have to use: ./hello > ( just hello does work on knoppix ) > > That's probably a red hat linux server setting... ./ means current folder... > > Just wondering what that is all about. "." is not in the PATH by default on most Unixes, as that introduces a security hole. > I ll bet I'll also write a tutorial so others can do it. > > Also with a little side note why I want it... many asked why not install > linux. > > My short answer would be: 1. no space. 2. I read linux can destroy NTFS > partitions :) > > Since I have windows xp ntfs and windows 98 fat32 paritions I don't want > that now do I :) > Later. IMHO, it's unlikely that Linux can destroy NTFS partitions that it only has read-only access to. I've been wrong before, though... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/