Comments (3)
Well, it doesn't pay to modify the newlib-provided header files to provide only the exact subset of system calls currently provided by libretro.
from retro68.
The implementation of unix system calls is quite minimal at the moment. It's enough to allocate memory, and to do console output. File IO is not yet supported.
Contributions welcome.
There are also some decisions to be made; how much should be supported, and how much should be left optional to keep binary sizes down? (After all, it's bad enough that using iostreams pulls in all of listdc++'s locale support and fills half a floppy disk with unneeded code.)
Another idea would be to port/integrate GUSI: http://sourceforge.net/projects/gusi/
from retro68.
I agree that there's no real need to expose them, as they're only POSIX. I can see the argument of not wanting to introduce any diffs in newlib to make updating from upstream easier, as apparently, there's nothing to define to tell newlib what's not available. However, might this be something worth raising upstream for newlib? I know newlib is used for a lot of embedded stuff, including stuff that most certainly doesn't even have a real time clock or a file system ;).
from retro68.
Related Issues (20)
- Crash when there are more than ten CODE resources when using a custom segmap HOT 1
- Using libraries compiled by CodeWarrior HOT 2
- Include order is wrong
- How do I compile a OpenGL program with this for OS X? HOT 1
- Traditional assembly files
- powerpc-apple-macos-gcc "-g" flag makes app crash
- LaunchAPPLServer crashes if disk is full
- Cannot link against libraries other than InterfaceLib HOT 1
- Failed building Samples
- Add a preprocessor macro to detect Retro68 HOT 1
- Patch: export data from PowerPC code fragments HOT 1
- "Elf2Mac has unexpectedly quit" HOT 1
- Error compiling libelf on latest Arch Linux HOT 1
- Install Fails, can't find make-multiverse.rb HOT 1
- -Wl,--gc-sections on 68k causes crashes when C++ exceptions are thrown HOT 1
- Is this project being maintained? HOT 1
- A5 ignored on asm() register-clobber list HOT 2
- ld warning after updating to latest GCC 12 version HOT 1
- Specifying an output filename HOT 1
- Compiling ResourceFile.cc fails HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retro68.