Mail Archives: cygwin/2000/12/18/03:14:56
Hello Cygwin-List,
I have written a Perl script that outputs this* from my just-installed
version of the latest Cygwin gcc release. I would like to know if this
(sort of output) is useful to users as a means of more quickly and clearly
seeing what the setup defaults of the gcc system are when one is having
trouble diagnosing one's own (or someone else's) build hang-ups. If there's
no suggestion that something is missing from the output of this that
experts would normally want to see, etc., then I will release it (I'll
announce to this List how readers can download it).
*Below is the output. Sorry that emailers will probably wreck it by
wrapping, nothing much to be done about that. I suggest for those who want
to examine it closely, that using a mono font to do so might be helpful.
--- command in Cygwin sh (aka bash.exe): ---
$ perl -S gcc_spec_check.p D:/Cygwin/bin/gcc.exe
------- console output --------
Reading specs from /lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs
** aka D:\Cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\specs **
gcc version 2.95.2-5 19991024 (cygwin experimental)
------------------------------------------------------------------------
/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/cpp.exe
------------------------------------------------------------------------
Shows us:
[ 1] -D__GNUC__=2
[ 2] -D__GNUC_MINOR__=95
[ 3] -Di386
[ 4] -D__386__
[ 5] -D__i386
[ 6] -D_X86=1
[ 7] -D__STDC__=1
[ 8] -D__stdcall=__attribute__((__stdcall__))
[ 9] -D__cdecl=__attribute__((__cdecl__))
[10] -D__declspec(x)=__attribute__((x))
[11] -D__i386__
[12] -D__386__
[13] -D__i386
[14] -D_X86=1
[15] -D__STDC__=1
[16] -D__stdcall=__attribute__((__stdcall__))
[17] -D__cdecl=__attribute__((__cdecl__))
[18] -D__declspec(x)=__attribute__((x))
[19] -D__i386
[20] -Asystem(winnt)
[21] -Acpu(i386)
[22] -Amachine(i386)
[23] -Acpu(i386)
[24] -Amachine(i386)
[25] -Di386
[26] -D__i386
[27] -D__i386__
[28] -Di686
[29] -Dpentiumpro
[30] -D__i686
[31] -D__i686__
[32] -D__pentiumpro
[33] -D__pentiumpro__
[34] -D__CYGWIN32__
[35] -D__CYGWIN__
[36] -Dunix
[37] -D__unix__
[38] -D__unix
[39] -D_WIN32
[40] -DWINNT
GNU CPP version 2.95.2-5 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/include
** aka D:\Cygwin\usr\include **
/usr/include
** aka D:\Cygwin\usr\include **
/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/include
** aka D:\Cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\include **
/usr/include
** aka D:\Cygwin\usr\include **
End of search list.
The following default directories have been omitted from the search path:
/usr/include/g++-3
** aka D:\Cygwin\usr\include\g++-3 **
End of omitted list.
------------------------------------------------------------------------
GNU C version 2.95.2-5 19991024 (cygwin experimental) (i686-pc-cygwin)
compiled by: GNU C version 2.95.2-5 19991024 (cygwin experimental).
------------------------------------------------------------------------
Assembler messages:
Error: Can't open G:/TMP/ccse1OI2.s
** aka G:\TMP\ccse1OI2.s ** for reading.
G:/TMP/ccse1OI2.s
** aka G:\TMP\ccse1OI2.s **: No such file or directory
------ end console output -----
Please note that I am, this seems to show, getting `as' errors similar to
what was reported by the fellow who is trying to build Compress::Zlib for
Perl. I don't get this happening when I run this very same script on my
MinGW gcc-2.95.2. BTW, if someone running Linux or some other Unixen
would offer to test my Perl script before I release it, I would appreciate it.
Otherwise, I'll just go ahead and embarrass myself as usual :-).
Thanks for the input/attention/patience,
soren andersen
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -