gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] RealConv.mod first cut


From: Michael Lambert
Subject: Re: [Gm2] RealConv.mod first cut
Date: Fri, 19 Dec 2008 09:29:36 -0500

Hi Gaius,

Unfortunately, these changes break the build on Mac OS X (at least 10.5/Intel):

gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes - Wmissing-prototypes -DHAVE_CONFIG_H -o stage1/gm2/cc1gm2 gm2/ gccgm2.o gm2/gm2builtins.o gm2/gm2-lang.o gm2/gm2except.o gm2/stor- layout.o gm2/m2pp.o gm2/gm2-compiler-boot/gm2.a gm2/gm2-libs-boot/ libgm2.a gm2/p2c/p2c-src/src/libp2c.a \ gm2/gm2-compiler-boot/m2flex.o main.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a -lintl -liconv ../ libiberty/libiberty.a -lm
Undefined symbols:
  "_exp10l", referenced from:
      _exp10il in libgm2.a(StringConvert.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [stage1/gm2/cc1gm2] Error 1
cp: stage1/gm2/cc1gm2: No such file or directory
make[2]: *** [cc1gm2] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

I couldn't find any reference to any flavor of exp10() in the 7 September 2007 draft of C99 and I don't recall seeing it in earlier C standards. Perhaps pow() is needed instead.

Regards,

Michael





reply via email to

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