Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-05-21
09:00 • Closed ticket [736739ffff]: tcl_cv_strtod_buggy problem plus 7 other changes artifact: b93959f2e8 user: mdejong
2003-05-13
06:23 • Ticket [736739ffff]: 4 changes artifact: fd97ec2708 user: nobody
2003-05-12
23:19 • New ticket [736739ffff]. artifact: 310bceac11 user: nobody

tcl_cv_strtod_buggy problem

Closed / Invalid736739ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-05-12 23:19:54
Hi!

I'm trying to cross-compiling the TCL8.4.2 and I notice
some problems with the configure stage.

The problem is that the configure problem detect the
"Solaris2.4/Tru64 strtod bugs" as buggy even if I
compile with the powerpc-linux-gcc cross compiler on a
Linux system (i386).

I tried to understand the problem... is possible the
solution is to change line 3901 of configure file from:

               if test "$cross_compiling" = yes; then
     tcl_cv_strtod_buggy=1
   else

to

               if test "$cross_compiling" = yes; then
     tcl_cv_strtod_buggy=0
   else
?

Thanks,

Rodolfo Giometti <[email protected]>
nobodyplain2003-05-13 06:23:56
Logged In: NO 

Sorry! Please substitute:

The problem is that the configure problem detect the
"Solaris2.4/Tru64 strtod bugs" as buggy even if I ...

with the sentence:

The problem is that the configure program detect the
"Solaris2.4/Tru64 strtod bugs" as buggy even if I ...

Rodolfo
mdejongplain2003-05-21 09:00:07
Logged In: YES 
user_id=90858

There is no way to know if the given runtime bug exists on
the target
platform without running a test. Since you are cross compiling,
there is no way to run such a test. Therefore, the code needs to
assume that the bug does exist and use the work around
which should always work when cross compiling. Closing bug.
Log in (anonymous is fine) to add a comment.