why are you including <ape/float.h> ? you're lucky that /$objtype/include/ape/float.h doesn't have a #pragma lib, otherwise you'll be seeing some weird behavior.
you should not link APE's libs against the standard libc. On Thu, Aug 7, 2008 at 3:24 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > On Aug 6, 2008, at 12:29 PM, Greg Comeau wrote: > >> Does it help any to initialize constants[] in a source file >> by itself? > > I don't know, but your idea gave me something that did: > > % cat mach.c > #include <ape/float.h> > > double dblmin = DBL_MIN; > double dblmax = DBL_MAX; > double dbleps = DBL_EPS; > % cat builtins.c > ... > extern double dblmin, dblmax, dbleps; > ... > install(s_copy("MIN"), CONSTANT, dblmin); > install(s_copy("MAX"), CONSTANT, dblmax); > install(s_copy("EPSILON"), CONSTANT, dbleps); > ... > > > -- Federico G. Benavento