On Thursday, April 11, 2002, at 12:14 AM, Max Horn wrote:
> At 9:54 Uhr -0700 10.04.2002, Justin C. Walker wrote:
>> On Wednesday, April 10, 2002, at 07:14 AM, Max Horn wrote:
>>
>>> At 20:56 Uhr +0100 09.04.2002, KL Tah wrote:
>>>> Hi everyone!
>>>> I've written a c program that makes use of the srand48() and
>>>> drand48() functions, but can't get cc on my newly installed OS
>>>> 10.1.3 to compile it.
>>>
>>> These functions don't exist in Darwin. You will have to write your
>>> own replacements for them.
>>
>> The source is in the 'Libc' project, I think (check the file _rand48.c
>> in the Libc project on the Darwin website). You won't have to write
>> it, but you'll have to explicitly include it...
>
>
> Well, of course he can *copy* the source from there into his project
> (as long as no licenses are harmed, of course, that has to be checked).
> But the OS X 10.0 and 10.1.x release definitly don't have it. Just to
> clarify (Justin's comment could be read as "you just have to declare it
> yourself", I think :-)
Yeah; good point. None of the Mac OS X/Darwin releases have the rand48
stuff in the libraries. I don't know when this will change.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners