You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with the current ps3toolchain and psl1ght-v2, compiling trivial programs fail, as the linker cannot find what seems to be part of the c runtime. Try e.g.
echo "int main(){return 0;}" | ppu-gcc -x c -o foo -
This is not expected, and confuses e.g. autotools ("C-compiler cannot create binaries" - linking is checked also in cross builds)
One way of fixing this is to add the necessary libs to the ppu-gcc linker driver specs file. This can be done with the following "one liner" at the end of script 4 (ppu stage2)
with the current ps3toolchain and psl1ght-v2, compiling trivial programs fail, as the linker cannot find what seems to be part of the c runtime. Try e.g.
echo "int main(){return 0;}" | ppu-gcc -x c -o foo -
This is not expected, and confuses e.g. autotools ("C-compiler cannot create binaries" - linking is checked also in cross builds)
One way of fixing this is to add the necessary libs to the ppu-gcc linker driver specs file. This can be done with the following "one liner" at the end of script 4 (ppu stage2)
ppu-gcc -dumpspecs |
awk -v psl1ght="-L$PSL1GHT/ppu/lib" '/*link:/ {getline temp; print $0; print temp " " psl1ght;next}{print}' |
awk '/*lib:/ {getline temp; print $0; print "-lrt -llv2 " temp; next}{print}' \
The text was updated successfully, but these errors were encountered: