Mail Archives: djgpp/2004/02/09/07:31:44
Eli Zaretskii wrote:
>>From: "Ram.M" <mram AT employees DOT org>
>>Newsgroups: comp.os.msdos.djgpp
>>Date: Fri, 06 Feb 2004 01:24:12 +0530
>>
>>>What does the following command print, if you type that from a DOS
>>>box?
>>>
>>> dir d:\djgpp\lib\gcc-lib\djgpp\3.32
>>
>>D:\DJGPP>dir d:\djgpp\lib\gcc-lib\djgpp\3.32
>> Volume in drive D is DATA
>> Volume Serial Number is 7401-0844
>>
>> Directory of d:\djgpp\lib\gcc-lib\djgpp\3.32
>>
>>05/02/2004 16:07 <DIR> .
>>05/02/2004 16:07 <DIR> ..
>>20/10/2003 19:17 2,887,680 cc1.exe
>>20/10/2003 19:17 173,568 collect2.exe
>>20/10/2003 19:06 1,393 djgpp-x.djl
>>20/10/2003 19:06 26 djgpp.ver
>>05/02/2004 16:06 <DIR> include
>>05/02/2004 16:07 <DIR> install-tools
>>20/10/2003 19:17 51,916 libgcc.a
>>20/10/2003 19:06 3,195 specs
>>20/10/2003 19:17 89,492 SYSCALLS.cX
>> 7 File(s) 3,207,270 bytes
>> 4 Dir(s) 2,753,071,104 bytes free
>
>
> Strange...
>
> Okay, let's try several more commands; please tell what each one of
> them displays:
>
> gcc -print-libgcc-file-name
> gcc -print-file-name=libgcc.a
> ld --version
Here goes the info..
D:\djgpp>set DJGPP=d:\djgpp\djgpp.env
D:\djgpp>set PATH=%PATH%;d:\djgpp\bin
D:\djgpp>gcc gcc -print-libgcc-file-name
D:\djgpp>gcc -print-libgcc-file-name
d:/djgpp/lib/gcc-lib/djgpp/3.32/libgcc.a
D:\djgpp>gcc -print-file-name=libgcc.a
d:/djgpp/lib/gcc-lib/djgpp/3.32/libgcc.a
D:\djgpp>ld --version
GNU ld version 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
D:\djgpp>
- Raw text -