Re: Use of sizeof()

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

On Linux, normally just using a man page is enough. My version of man page for malloc() doesn't state which library to use however, but in this case it is /lib/libc.so.6

Yeah, that usually means that it's part of the C runtime library (or maybe even more basic). When using euphoria, this means that you can simply use the result of open_dll("") in the define_c calls. Linux allows you to automatically link to things like that which are already linked (and you're pretty much guaranteed to be linked to the C runtime library--and definitely so when using euphoria).

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu