This is the mail archive of the
mailing list for the Cygwin project.
Re: [Mingw-users] free pascal cross compiler from windows to linux working.
- From: Joerg Bruehe <joerg at sql dot de>
- To: Ming mailing list <mingw-users at lists dot sourceforge dot net>
- Cc: free pascal mailing list <fpc-pascal at lists dot freepascal dot org>, Cygwin mailing list <cygwin at cygwin dot com>, BinUtils mailing list <binutils at sources dot redhat dot com>
- Date: Mon, 30 Jun 2003 10:09:58 +0200
- Subject: Re: [Mingw-users] free pascal cross compiler from windows to linux working.
- Organization: SQL Datenbanksysteme GmbH
- References: <001401c33de6$621c9a80$395d79d9@cp250405a>
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
> 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
> 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.
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
(speaking only for himself)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html