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 Message-ID: <3EFFF056.FD877103@sql.de> Date: Mon, 30 Jun 2003 10:09:58 +0200 From: Joerg Bruehe Organization: SQL Datenbanksysteme GmbH X-Accept-Language: en MIME-Version: 1.0 To: Ming mailing list CC: free pascal mailing list , Cygwin mailing list , BinUtils mailing list Subject: Re: [Mingw-users] free pascal cross compiler from windows to linux working. References: <001401c33de6$621c9a80$395d79d9 AT cp250405a> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear all! As I do not know on which lists it might be considered on-topic (I read only MinGW), I did not change the distribution. Harald Houppermans wrote: > > The free pascal 1.0.6 cross compiler host windows target linux is now > working. > > [...] > > The only problem seems to be that the hello world is denied access. > > It says: permission denied... This is probably a consequence of the file system: I assume that was done on a FAT or FAT32 file system which does not support the Unix style "x" (= "executable") bit. > > 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. Does the file system you use support these permissions? Probably no. > > ( Is that the right term, linux executables ? :) ) Not necessarily - the "x" bit does apply to shell scripts or other interpreted files as well, but most people would not call these "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... FAQ: For security reasons, the PATH variable in the Unix world typically does not contain "." (= the current _directory_). Of course, you may change it in your profile. > > [...] > > My short answer would be: 1. no space. 2. I read linux can destroy NTFS > partitions :) Only if you tell your Linux to access them read-write. You can easily prevent any damage by setting it in your "/etc/fstab" list - by having them mounted either read-only or not at all. HTH, Joerg Bruehe -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg AT sql DOT de -- 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/