At 15:02 06/11/2001 , Prof. A Olowofoyeku (The African Chief) a écrit:
On 6 Nov 2001, at 13:39, Pierre Muller wrote:
Trying to get strings output for GPC to work,
I needed a win32 gpc binary to check my changes to GDB.
But I have problems both with the latest cygwin binary port ftp://agnes.dida.physik.uni-essen.de/home/chief/win32/cygwin/2.95.3/gpc-20 01 0924.i686-pc-cygwin.tar.gz
That version (0924) is broken under Windows. I haven't had time to investigate why, because I simply regressed to 0623 at the time. I thought I had removed 0924 from agnes, but perhaps forgot to do so (I have done so now). Please get the 0623 version instead.
I downloaded that version but I still have the same problem.... $ gpc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-cygwin/2.95.3/specs gpc version 20010623, based on 2.95.3 20010315 (release)
[...]
as Assembler messages: for reading open : No such file or directory
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 :( 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 :
F:\pas\cvs100\ide>gpc -v hello.pp -Lf:\mingw32\lib Reading specs from f:\mingw32\usr\local\lib\gcc-lib\i386-mingw32msvc\2.95.3\spec s gpc version 20010331, based on 2.95.2 19991024 (release) f:\mingw32\usr\local\lib\gcc-lib\i386-mingw32msvc\2.95.3\gpcpp.exe -lang-pascal -v -iprefix f:/mingw32/usr/local/lib/gcc-lib/i386-mingw32msvc/2.95.3/i386-mingw 32msvc\2.95.2\ -famtmpfile=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cca02196 -fdelphi- comments -D__GNU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__GPC__=2 -D __GPC_MINOR__=0 -D__GPC_RELEASE__=20010331 -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_ LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_ENDIAN__=1 -Di386 -D_WIN32 -DWIN32 -D__WIN32_ _ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__at tribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__att ribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__OS_DOS__=1 -D__i386 __ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -D__WINNT__ - D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D___stdcall__=__ attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)= __attribute__((x)) -D__OS_DOS__=1 -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__at tribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -remap -Acp u(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ hello.pp C:\DOCUME~1\ADMINI~1 \LOCALS~1\Temp\cca02196.i GNU Pascal Compiler PreProcessor version 20010623, based on gcc-2.95.3 20010315 (release) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: f:/mingw32/usr/local/lib/gcc-lib/i386-mingw32msvc/2.95.3/i386-mingw32msvc\ f:/mingw32/usr/local/lib/gcc-lib/i386-mingw32msvc/2.95.3/i386-mingw32msvc\2.95. 2\include /usr/local/include /include /usr/local/lib/gcc-lib/i386-mingw32msvc/2.95.3/include /usr/local/i386-mingw32/include End of search list. f:\mingw32\usr\local\lib\gcc-lib\i386-mingw32msvc\2.95.3\gpc1.exe C:\DOCUME~1\A DMINI~1\LOCALS~1\Temp\cca02196.i -quiet -dumpbase hello.pas -version -famtmpfile =C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cca02196 -o C:\DOCUME~1\ADMINI~1\LOCALS~1\Te mp\cca02196.s GNU Pascal version 2.95.3 20010315 (release) (i386-mingw32msvc) compiled by GNU C version 3.0. GNU Pascal version is actually 20010623, based on gcc-2.95.3 20010315 (release) hello.pp:1: warning: missing program header as -o C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cca021961.o C:\DOCUME~1\ADMINI~1\LOCAL S~1\Temp\cca02196.s collect2 crt2.o -Lf:\mingw32\lib -Lf:\mingw32\usr\local\lib\gcc-lib\i386-mingw3 2msvc\2.95.3 -Lf:\mingw32\usr\local\lib\gcc-lib\i386-mingw32msvc\2.95.3\i386-min gw32msvc\2.95.2...... C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cca021961.o -lgpc -l mingw32 -lgcc -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmin gw32 -lgcc -lmoldname -lmsvcrt collect2: cannot open crt2.o: No such file or directory
Note that I added -Lf:\mingw32\lib to the command line options and this is the location of this crt2.o file ... Using / instead of \ or changing the option position on command line doesn't change the result. Anyway, I don't think its used for single files ...
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
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: /"
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.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Author of Chief's Installer Pro for Win32 Email: African_Chief@bigfoot.com http://www.bigfoot.com/~african_chief/
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
On 6 Nov 01, at 17:27, Pierre Muller wrote:
[...]
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 have a full cygwin installation as well, and mounting my drives in textmode has no adverse effect (except when installing XFree86 - but once that is installed you can return the mounts to textmode).
[...]
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.
Excellent!
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) Author of: Chief's Installer Pro for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm Email: African_Chief@bigfoot.com