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]

Re: Build gcc-2.95.3 with UDK 7.1.1b anyone?


Jean-Pierre Radley wrote:
> Robert Lipe propounded (on Tue, Apr 17, 2001 at 11:44:13AM -0500):
> | Jean-Pierre Radley wrote:
> | > Boyd Lynn Gerber propounded (on Tue, Apr 17, 2001 at 05:06:07AM +0000):
> | > | Has anyone been able to build gcc-2.95.2 with the new UDK?
> | > | 
> | > | This is how I have tried with out success many errors!
> | > | 
> | > | CC=/bin/cc ./configure
> | > | /usr/local/bin/make bootstrap
> | > | 
> | > | I am using gnu make.
> | > 
> | > Bootstraps of gcc, whether 2.95.2 or 3.0, have not worked with SCO's UDK
> | > since some time last fall.
> | 
> | The development snapshots as of this morning would probably work with
> | the new UDK if C++ was disabled.  (See my bug report of an hour or two
> | ago.)   2.95.[23] may choke on some of the new C99-isms introduced in the
> | new UDK libraries and system compiler.
> | 
> | Provide specifics (or even better; patches) to the gcc lists.
> | 
> | 
> | The one thing that I do know of that won't work with your example is
> | that GCC's definition of 'inline' isn't quite the C99 version of inline
> | and that while it passes the configure step, it will bomb during the build.
> | So you have to disable /bin/cc's inline with
> | 	CC="/bin/cc -Xb" /path/to/configure 
> 
> /bin/cc?  Boyd was talking about the UDK compiler.

The new UDK compiler is in /bin/cc when installed on UnixWare.  Since
the configure line he gave above cited /bin/cc and referenced the new
compiler, I didn't challenge it.    

If you're using UDK - wherever it is - you have to pass the -Xb flag
to CC *during the configure cycle* to disable C99 inline support.

RJL


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