Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation without libc? #7

Closed
DeXP opened this issue Mar 21, 2015 · 3 comments
Closed

Compilation without libc? #7

DeXP opened this issue Mar 21, 2015 · 3 comments

Comments

@DeXP
Copy link

DeXP commented Mar 21, 2015

lodepng can work without libc. Maybe, wrap "strlen", "qsort" and "memset" functions like "lodepng_malloc"?

The current implementation is getting enough dirty:
https://github.com/DeXP/dxPmdxConverter/blob/master/bmpconvert.c

@lvandeve
Copy link
Owner

Hi,

I can look into it. A question about this: what is a scenario where this is needed? Which device is this for?

Thanks :)

@DeXP
Copy link
Author

DeXP commented Mar 23, 2015

Hi!
I don't know, where is it really needed. I'm making windows application without dependencies, with minimal EXE-size and maximum functionality. But it is hacking and for fun.

@lvandeve
Copy link
Owner

this is done now, only one C header (string.h) used for size_t only, and the file loading is optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants