Re: [ntp:questions] The smallest possible ntpd, unoptimized

2008-01-04 Thread Harlan Stenn
Pierre,

You might have better luck using the normal -O flags and figuring out which
math routines are needed, and then seeing if you can find some .s files that
will implement them.

Also, "configure CCFLAGS='-O whatever'" may be useful.
-- 
Harlan Stenn <[EMAIL PROTECTED]>
http://ntpforum.isc.org  - be a member!

___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


Re: [ntp:questions] The smallest possible ntpd, unoptimized

2008-01-04 Thread Pierre Dubuc
Replying to message <[EMAIL PROTECTED]>

> Date: Fri, 04 Jan 2008 20:32:50 +
> From: Harlan Stenn <[EMAIL PROTECTED]>
> Newsgroups: comp.protocols.time.ntp
> Subject: Re: The smallest possible ntpd, unoptimized
> 
> Pierre,
>
> You might have better luck using the normal -O flags and figuring out which
> math routines are needed, and then seeing if you can find some .s files that
> will implement them.
>
> Also, "configure CCFLAGS='-O whatever'" may be useful.
>



Thanks for the advice, Harlan. It's working fine now.

For reference, I used the following command:

./configure --disable-all-clocks --disable-debug CFLAGS='-O0'

The resulting ntpd was 351897 bytes, which suits me fine.

It seems -O0 is needed, at least for building the daemon, on NetBSD-i386 
on a 486SX.

Case closed for me.

-- 
Pierre Dubuc
[EMAIL PROTECTED]

___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


Re: [ntp:questions] The smallest possible ntpd, unoptimized

2008-01-05 Thread Uwe Klein
Pierre Dubuc wrote:

> It seems -O0 is needed, at least for building the daemon, on NetBSD-i386 
> on a 486SX.
> 
> Case closed for me.
>
did you try the 386 specific flag:
-msoft-float

uwe

___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


Re: [ntp:questions] The smallest possible ntpd, unoptimized

2008-01-06 Thread Pierre Dubuc
Replying to message <[EMAIL PROTECTED]>

> Date: Sat, 05 Jan 2008 18:08:43 +0100
> From: Uwe Klein <[EMAIL PROTECTED]>
> Newsgroups: comp.protocols.time.ntp
> Subject: Re: The smallest possible ntpd, unoptimized
> 
> Pierre Dubuc wrote:
>
>> It seems -O0 is needed, at least for building the daemon, on NetBSD-i386 on 
>> a 486SX.
>> 
>> Case closed for me.
>> 
> did you try the 386 specific flag:
> -msoft-float
>
> uwe
>

Indeed, this works as well, even with -O2 enabled. Thanks again...

-- 
Pierre Dubuc
[EMAIL PROTECTED]

___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions