Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rand48 routines



On 27 Mar, Jon McCormack wrote:
> Hello,
> I am trying to compile some code that uses the rand48 family of random 
> number generators. If I do a "man 3 rand48" I get:
> NAME
>       drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, 
> seed48,
>       lcong48 - pseudo random number generators and initialization 
> routines
> 

We have implemented this and a host of other "missing calls" with a
port of FreeBSD LibC.  Most of this work has been patched into
GNU-Darwin libintl.a, which is convenient for GNOME developers and
others.  If you want to try it, be sure to read the package
installation instructions.

http://gnu-darwin.sourceforge.net/packages/ppc/Latest/gettext.tgz
http://gnu-darwin.sourceforge.net/packages

The best example of the sources is currently in the x86 section of
GNU-Darwin CVS, although it does not build automatically.

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gnu-darwin/4Darwin-x86/src/lib/

Please contact me personally, if you have any more questions about this.

Regards,
proclus
http://www.gnu-darwin.org/



> SYNOPSIS
>       #include <stdlib.h>
> 
>       double
>       drand48(void)
> ... etc.
> 
> However, at the linking stage the symbols in this library are undefined. 
> Are they really there somewhere or are they missing? Any suggestions on 
> which library might be needed to link with?
> Thanks in advance.
> 
> Jon.
> --
> Jon McCormack
> Monash University, Australia
> _______________________________________________
> unix-porting mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
> Do not post admin requests to the list. They will be ignored.
> 
> 

-- 
Visit proclus realm! http://proclus.tripod.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GMU/S d+@ s: a+ C++++ UBOULI++++$ P+ L+++(++++) E--- W++ N- !o K- w--- !O
M++@ V-- PS+++ PE Y+ PGP-- t+++(+) 5+++ X+ R tv-(--)@ b !DI D- G e++++
h--- r+++ y++++
------END GEEK CODE BLOCK------

[demime 0.98b removed an attachment of type APPLICATION/pgp-signature]
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >rand48 routines (From: Jon McCormack <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.