Here is more output from the file: (Also what does 'top post' mean?) -
thanks!
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| long longval () { return (long) (sizeof (long double)); }
| unsigned long ulongval () { return (long) (sizeof (long double)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| exit (1);
| if (((long) (sizeof (long double))) < 0)
| {
| long i = longval ();
| if (i != ((long) (sizeof (long double))))
| exit (1);
| fprintf (f, "%ld\n", i);
| }
| else
| {
| unsigned long i = ulongval ();
| if (i != ((long) (sizeof (long double))))
| exit (1);
| fprintf (f, "%lu\n", i);
| }
| exit (ferror (f) || fclose (f) != 0);
|
| ;
| return 0;
| }
configure:7509: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
From: Ken Moffat <[EMAIL PROTECTED]>
Reply-To: LFS Support List <[email protected]>
To: LFS Support List <[email protected]>
Subject: Re: Hello and a question
Date: Fri, 29 Dec 2006 18:01:19 +0000
On Fri, Dec 29, 2006 at 02:12:41PM +0000, travis formoso wrote:
> Hi Ken,
>
> here is the output of the file from the lines above it - if you need
more
> info let me know - thanks a lot!
(Note for _everybody_ - There's no need to Cc: me on these lists)
>
> long longval () { return (long) (sizeof (long double)); }
> | unsigned long ulongval () { return (long) (sizeof (long double)); }
> | #include <stdio.h>
> | #include <stdlib.h>
> | int
> | main ()
> | {
> |
> | FILE *f = fopen ("conftest.val", "w");
> | if (! f)
> | exit (1);
> | if (((long) (sizeof (long double))) < 0)
> | {
> | long i = longval ();
> | if (i != ((long) (sizeof (long double))))
> | exit (1);
> | fprintf (f, "%ld\n", i);
> | }
> | else
> | {
> | unsigned long i = ulongval ();
> | if (i != ((long) (sizeof (long double))))
> | exit (1);
> | fprintf (f, "%lu\n", i);
> | }
> | exit (ferror (f) || fclose (f) != 0);
> |
> | ;
> | return 0;
> | }
> configure:7509: error: cannot compute sizeof (long double), 77
> See `config.log' for more details.
Hmm, this isn't wonderfully enlightening. Possibly, a few more
lines from just *before* this will show the error, maybe a missing
header. All we can see here is the program source code that failed.
Also, please don't top post. Thanks.
Ken
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
_________________________________________________________________
Experience the magic of the holidays. Talk to Santa on Messenger.
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page