bug-cvs
[Top][All Lists]
Advanced

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

Re: Problem with configure falsely detecting presence ofsystemroutines(w


From: Derek Robert Price
Subject: Re: Problem with configure falsely detecting presence ofsystemroutines(while porting to NSK)
Date: Fri, 03 Oct 2003 14:46:35 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kelly F. Hickel wrote:

| Floss (Freeware Look for OSS) actually installs a shell script as
|
|/usr/local/bin/cc (the native compiler is c89).  Then, "cc
|-D_XOPEN_SOURCE_EXTENDED=1" will get you most of the way there.  The
|unmodified cvs 1.11.6 will build and work this way, as long as none of
|the files in your cvs repository are bigger than about 50k bytes.


Then I think the immediate workaround for your problem then is to plan
on configuring all packages with `./configure CC=/usr/local/bin/cc
CPPFLAGS=-D_XOPEN_SOURCE_EXTENDED=1' (alternatively, configure should
find your `cc' if it is the first `cc' in your PATH).  The long term fix
for the `cc' bit is to work out a way for configure to determine that
Floss is available and needed on your system and to use it with the
Autoconf folks (<autoconf@gnu.org> to ask questions,
<bug-autoconf@gnu.org> for bug reports and patch submissions) and get
the changes incorporated there.

It is possible that the Autoconf folks will tell you that it is not
their business that your OS comes with a broken linker, especially when
the solution is so simple as putting a working linker (the Floss `cc'
script) in your PATH.  If there were options that a script could
determine that needed to be added to LDFLAGS on your system to get the
correct results then the story might be different.  Of course it is also
possible that they might decide that all of the Floss functionality is
useful on other systems or that there would be a particular interest in
Tandem there, or even that the problem has already been solved and you
only need to update your Autoconf version.

What is _XOPEN_SOURCE_EXTENDED supposed to do and how could it be
detected that it is needed?  Is this something that is needed for
compiling on your system in general or only for particular parts of CVS?

Derek

- --
~                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
- --
Tar is not a plaything.
Tar is not a plaything.
Tar is not a plaything...

~          - Bart Simpson on chalkboard, _The Simpsons_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/fcQKLD1OTBfyMaQRAqovAKCMFQiTNnOLgnxthk0TQtK30qO5cACgvCxh
UEuxq7sW0oI2NYYVkpxOS2E=
=jpIi
-----END PGP SIGNATURE-----






reply via email to

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