Ash Logan
fb9b7ab3fb
wutstdc++: remove volatile keyword
...
Who knows? not me. Seems to work okay without it
wut_stdcpp.cpp
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:3:9: error:
expected '(' before '__volatile__'
__asm__ __volatile__(
^~~~~~~~~~~~
(
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:4:4: error:
expected unqualified-id before string constant
"\t.section\t.text.__wrap___gxx_personality_v0,\"ax\",@progbits\n"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ash/src/wut/libraries/wutstdc++/wut_stdcpp.cpp:3:22: error:
expected ')' before string constant
__asm__ __volatile__(
~^
)
"\t.section\t.text.__wrap___gxx_personality_v0,\"ax\",@progbits\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/opt/devkitpro/devkitPPC/base_rules:13: wut_stdcpp.o]
Error 1
2019-04-09 20:41:45 +10:00
Ash Logan
869fe709ea
Revert "wutstdc++: Move __gxx_personality to dedicated Assembly file"
...
This reverts commit 370eeb28e9
.
I didn't know what this did, sorry.
2019-04-09 20:26:35 +10:00
Ash Logan
81285c71f6
samples: port helloworld_cpp to make
2019-04-09 19:28:27 +10:00
Ash Logan
b7a12a04a7
travis: Update WUT_ROOT temporary location
2019-04-09 19:25:27 +10:00
Ash Logan
592110eeb3
travis: remove spurious cd
2019-04-09 19:21:17 +10:00
Ash Logan
aa122e0366
travis: Fixups for new build system
2019-04-09 19:17:52 +10:00
Ash Logan
37afdf9095
samples: port helloworld to make
2019-04-09 19:15:24 +10:00
Ash Logan
5f1da6432c
samples: Move all into cmake directory, WUT_ROOT->DEVKITPRO/wut
2019-04-09 18:39:03 +10:00
Ash Logan
5e784d292f
wut.mk: don't depend on WUT_ROOT
...
Brings wut.mk in line with the other build systems - probably the last
real love it'll get.
2019-04-09 18:29:44 +10:00
Ash Logan
370eeb28e9
wutstdc++: Move __gxx_personality to dedicated Assembly file
...
I was getting issues with __volatile__ for unknown reason, so moving
this to a dedicated file sidesteps the issue entirely and passes this
straight to GAS.
2019-04-09 16:44:42 +10:00
Dave Murphy
96cf21131d
CMake fixups ( #104 )
...
* Provide default $WUT_ROOT
* default install path to /opt/devkitpro/wut
* only reinstall tools when required
* Correct search paths
* allow host paths for programs
* find tools via PATH & CMAKE_FIND_ROOT_PATH
* specify root path without bin component
2019-04-04 12:01:17 +11:00
Dave Murphy
1afdff1a21
devkitPro is an organisation, not software
2019-03-20 10:24:01 +00:00
Ash Logan
c15ed46e7a
cmake: don't use include_directories (reverts add09e7)
...
Turns out this actually doesn't work? god only knows how it didn't get
caught.
2019-03-18 19:03:31 +11:00
rw-r-r-0644
4d7517a630
nsysnet: Add other supported socket options
2019-03-16 10:37:17 +00:00
rw-r-r-0644
34bfddb581
dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone ( #102 )
...
* dmae: Add DMAECopyMem, DMAEFillMem and DMAEWaitDone
* tests: Add dmae to header compile test list
2019-02-28 17:10:10 +11:00
rw-r-r-0644
6ea6625b78
devoptab: Fix double free in __wut_fs_stat
...
The double free caused apps to crash when attempting to run stat on a directory
2019-02-24 15:48:46 +00:00
rw-r-r-0644
254de47b15
makefile: Update wut-tools path.
2019-02-21 08:55:30 +00:00
Ash Logan
86a8526725
include/nn/ac: Document existing nn_ac functions
2019-02-21 08:55:08 +00:00
Ash Logan
b2e6bc52d0
include/nn: Basic nn::Result docs (IsSuccess, IsFailure)
2019-02-21 08:55:08 +00:00
Ash Logan
f955e734df
include/swkbd: First shot at documenting swkbd
...
Mostly based off wut's example, but hey, should be pretty good!
2019-02-21 08:55:08 +00:00
Ash Logan
0f4e01e769
include/coreinit: Add missing doxygen group end to memorymap.h
2019-02-21 08:55:08 +00:00
Ash Logan
b142d92e36
include/sysapp: Add title.h - SYSCheckTitleExists, SYSGetPFIDFromTitleID
2019-02-21 08:55:08 +00:00
Ash Logan
610ed35050
include/sysapp: Minor documentation updates (procui works!)
2019-02-21 08:55:08 +00:00
fincs
0b920cf9b9
Automatically link wutstdc++ when C++ is used
2019-02-12 12:46:34 +01:00
fincs
3e179891e9
Make sure .fexports/.dexports sections don't get garbage collected
2019-02-12 12:46:34 +01:00
fincs
26ac7b3ff2
wutmalloc: Bugfixes, see details:
...
- Added (dummy) __init/fini_wut_malloc stubs called by wutcrt
in order to ensure that wutmalloc gets linked in
- malloc/realloc/calloc now properly set errno to ENOMEM during failure
- realloc no longer fails if ptr==NULL (in this case it works
like a regular malloc)
- realloc no longer does an out of bounds copy if the new size
is smaller than the old size
- free(NULL) is now supported as per the C standard
- Disabled sbrk/malloc-lock support code in wutnewlib because
newlib's malloc is replaced with wutmalloc
2019-02-12 12:46:34 +01:00
fincs
ee3bb10df4
First pass at adopting a devkitPro-style build system, see details:
...
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
- RPX start function is __rpx_start, while RPL is __rpl_start
- __init/fini_wut_* functions are no longer weak
- __init_wut/__fini_wut are instead weak
- Removed _exit implementation
- exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
- Renamed .cc files to .cpp
- Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
- Fixed uninitialized variable warnings in __wut_fs_read/write
2019-02-12 12:46:28 +01:00
James
c86282fd7a
Update README.md
...
Fix travis badge url.
2019-01-28 18:02:56 +00:00
James
93da85e0df
Update README.md
2019-01-27 14:20:17 +00:00
James Benton
edd0753aeb
Use devkitpro installed wut-tools.
2019-01-27 14:14:52 +00:00
James Benton
7495a9997f
coreinit: Add __OSValidateAddressSpaceRange.
2019-01-10 10:24:27 +00:00
James Benton
7e47e4daf4
tests: Add avm/drc.h to header compile test list.
2019-01-10 10:05:14 +00:00
James Benton
58d967ce0c
cmake: Try find DEVKITPPC from PATH.
2019-01-10 10:05:14 +00:00
James Benton
9e0394aae3
avm: Add AVMGetDRCScanMode.
2019-01-10 10:05:14 +00:00
James Benton
5177d7a6ee
samples/swkbd: Rename output to swkbd_sample.rpx to avoid name conflict with swkbd.rpl
2019-01-10 10:05:14 +00:00
James Benton
7bee4c7ca4
coreinit: Add OSIsAddressValid.
2019-01-10 10:05:14 +00:00
James Benton
80f57713b8
coreinit: Add DisassemblePPCOpcode.
2019-01-10 10:05:14 +00:00
BullyWiiPlaza
41e96a5421
Add missing wut offset checks
2019-01-09 09:47:28 +00:00
BullyWiiPlaza
ed4b52408b
Add missing OSContext fields from Diibugger
2019-01-09 09:47:28 +00:00
James
3d1b0f3774
Update README.md
2019-01-07 12:21:11 +00:00
James Benton
8676bcdc01
tools/common: Add byte_swap fallbacks for unknown platforms.
2019-01-06 11:19:09 +00:00
Ash
56f70b2865
toolchain.cmake: Use include_directories instead of -I
...
This helps some cmake analysers and the like to better get an idea of how wut works, while having the same effect in terms of actual compiling.
2018-12-09 11:37:57 +00:00
Maschell
ea5dd93e1e
Readme: Building on Windows: "build-essentials" -> "build-essential"
2018-12-04 03:26:59 -08:00
Ash
39ccbcfc0f
make: Strip debug sections before elf2rpl
2018-11-07 11:52:39 +00:00
Ash
f87b3f9347
make: Fix comparisons for sh compatibility
...
Thanks to @rw-r-r-0644 for this one
2018-11-07 11:52:39 +00:00
Ash
e950c6b937
make: Allow disabling the depends or compilation rules
2018-11-07 11:52:39 +00:00
Ash
24f46559da
make: extra space in CFLAGS removed
2018-11-07 11:52:39 +00:00
Ash
c0d3788b8e
make: Add wut makefile
2018-11-07 11:52:39 +00:00
rw-r-r-0644
7055d69c4f
Strip debug sections before running elf2rpl to prevent crashes
2018-11-06 19:42:45 +00:00
James Benton
f281a995b3
gx2: Add GX2_COMP_MAP and GX2_SQ_SEL_{RGBA} to utils.h
2018-10-21 15:25:32 +01:00