Search found 6 matches
- Mon Feb 26, 2024 5:13 am
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
Re: libatomic support
libatomic configury currently says no configure: error: Configuration powerpc-unknown-eabi is unsupported. There are some other dependencies we need to satisfy that aren't straightforward unfortunately. It's unlikely we'll get back to looking at this soon, sorry. Ok no problem. I'll figure out a wo...
- Sun Feb 25, 2024 10:35 pm
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
Re: libatomic support
So I'm still kind of stuck. I threw the config into the template: #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project #--------------------------------------------------------------------------------- LIBS := -lhar...
- Sat Feb 24, 2024 8:42 pm
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
Re: libatomic support
Ok I might have jumped the gun on that one, it might be related to order and all the included flags. Let me continue to test I'll eventually figure it out. Thanks for your help, much appreciated! root@4f0d20892574:/build# /opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++ main.cpp -std=c++11 -mrvl -mcpu=...
- Sat Feb 24, 2024 8:21 pm
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
Re: libatomic support
Found the culprit, when building against libogc. I removed it and now it's happy. root@4f0d20892574:/build# /opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++ main.cpp -o main -L/opt/devkitpro/wut/lib -L/opt/devkitpro/portlibs/gamecube/lib -L/opt/devkitpro/portlibs/ppc/lib -Wl,--as-needed -Wl,--no-undefi...
- Sat Feb 24, 2024 8:14 pm
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
Re: libatomic support
Ok I see, yeah it seems to work with some caveats. I think the issue is with my inclusion of uint64_t types and additional libs. Without including any of the libs I need it seems to be fine. When I add the libraries I need to link with it has undefined references to __atomic_*_8. Now that I know a l...
- Thu Feb 22, 2024 5:19 pm
- Forum: devkitPPC
- Topic: libatomic support
- Replies: 8
- Views: 647
libatomic support
Hello, Is it possible to get libatomic.a support for the gcc port? Simple test to demonstrate: #include <atomic> int main(){ std::atomic<int> test; return 0; } /opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++ main.cpp -std=c++11 -o main -latomic /opt/devkitpro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2...