At 16:42 06/11/2001 , vous avez écrit:
On 6 Nov 2001, at 15:52, Pierre Muller wrote:
This is most likely a mount problem. For some reason, it seems that you need to mount your volumes in textmode instead of binary.
I don't understand, what change should I make to my mount.... I only had binary mounts but I tried to a a textmode mount to a directory that contains some pascal source code. But this does not change anything :(
[...]
IIRC, you need to mount the whole volume in textmode - e.g., "mount -t -f c: /"
but why do I need to fdo this ?? I have a full cygwin installation, and I don't want to spoil it just to get gpc to run ...
I still get the same error from as, both for a file on a binmode mount and on a textmode mount.
Remebering that mingw32 is the prefered win32 version, I tried to download the latest gpc for mingw32, but here again, I had problems.
[...]
-lmsvcr t -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcrt gpc: installation problem, cannot exec `collect2': No such file or directory
I have the correct gcc installed, but gpc needs collect2, where should I find that binary ?
Simply copy 'ld.exe' to 'collect2.exe'.
I also tried this, but here again, I only made a small step forward: I does go up to linking but then I get this :
[...]
-lshell32 -lmin gw32 -lgcc -lmoldname -lmsvcrt collect2: cannot open crt2.o: No such file or directory
This is a gcc configuration problem. Make sure that the "LIBRARY_PATH" environment variable points to the directory in which crt2.o resides.
Thanks, I didn't remember the environment name, that one (the mingw32) works now correctly.
Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99