This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does 3.4 truncate include paths?


On Sun, Apr 04, 2004 at 01:30:12PM -0400, sean darcy wrote:
> I'm trying to build OpenOffice-1.1.1 with gcc-3.4. It dies here:
> 
> .....................
> mkdir -p ../lib/obj/GCC/ReleaseD
> g++34 -D_REENTRANT 
> -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/3.4.0/../..
>                                                                             
>             ^^^^^^^^
> /../../include/c++/3.4.0 -fexceptions -I../stlport -Wall -W 
> -Wno-sign-compare -W no-unused -Wno-uninitialized -ftemplate-depth-32 -O2 
> -fPIC dll_main.cpp -c -o .. /lib/obj/GCC/ReleaseD/dll_main.o
> In file included from stlport_prefix.h:28,
>                 from dll_main.cpp:34:
> ../stlport/ctime:25:44: 
> /usr/lib/gcc/i386-redhat-1/3.4.0/../../../../include/c++ /3.4.0/ctime:
>                                                             ^^
> No such file or directory
> In file included from stlport_prefix.h:28,
>                 from dll_main.cpp:34:
> ../stlport/ctime:32: error: `__std_alias::size_t' has not been declared
> ...................
> 
> The GXX_INCLUDE_PATH is correct - and ctime exists. But the error message 
> has truncated an element of the path to "i386-redhat-1".
> 
> I've cross-posted to the oo mailing list.
> 
> It does build under 3.3.

Something isn't being quoted right.  linux is being defined to 1. 
Probably something in the file is using:
#include GXX_INCLUDE_PATH "ctime.h"

You might want to try -idirafter instead.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]