bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem compiling glibc with gcc 2.95.3


From: David Korn
Subject: RE: Problem compiling glibc with gcc 2.95.3
Date: Tue, 20 Mar 2001 16:12:45 -0000

>>   D'oh.  I *knew* there was one more solution I had thought of and then
>> forgotten while I was writing the mail.  I wonder if it's because they
>> don't want all the system dependent pre-defines from the spec file?
>
>Ah, good point.  I thought that those could be surpressed, but 
>maybe not.

  Hmm.  Even using the -specs= flag and providing it with an empty specs
file doesn't get rid of them all; it seems that the user-supplied specs
file only allows specs to be overridden in the default one, but does not
altogether replace the default specs.  And some of the non-system-dependant
predefines (like __GNUC__) don't seem to come from specs at all, but are
build into the driver.

  Then again, it doesn't seem that the cpp standalone DTRT either:

address@hidden /win/f/3d/test
$ cat test.txt

well HELLO

this has to test what happens to unix and __GNUC__ and __STDC__ and so on.


address@hidden /win/f/3d/test
$ /bin/cpp -v -specs=emptyfile test.txt
Reading specs from /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
Reading specs from emptyfile
gcc version 2.95.2 19991024 (release-2)
 /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2/cpp.exe -lang-c -v -iprefix
/bin/../l
ib/gcc-lib/i686-pc-cygwin/2.95.2/ -Di386 -D_X86=1 -D__STDC__=1
-D__stdcall=__att
ribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__))
-D__declspec(x)=__a
ttribute__((x)) -D__i386__ -D_X86=1 -D__STDC__=1
-D__stdcall=__attribute__((__st
dcall__)) -D__cdecl=__attribute__((__cdecl__))
-D__declspec(x)=__attribute__((x)
) -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) -remap -Acpu(i386)
-Amach
ine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__
-D_
_pentiumpro -D__pentiumpro__ -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D_WIN32
-DWINNT
 test.txt
GNU CPP version 2.95.2 19991024 (release-2) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include
 /bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2/include
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include
 /usr/include
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3
End of omitted list.
# 1 "test.txt"

well HELLO

this has to test what happens to 1  and __GNUC__ and 1  and so on.


address@hidden /win/f/3d/test
$


-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]