Skip to content

fix compilation on linux and generate iso

Stefan Lankes requested to merge daniel-k:stage10 into stage10

Created by: daniel-k

mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
mkdir -p ${DESTDIR}${tooldir}/include/sys

was needed because at the time of execution, the destination directory didn't exist yet. I have no idea why this differs on Mac OS but it fixes linking issues not finding 'link.ld'.

Secondly I had to disable large file support because of linker errors not finding symbols __swrite64 and __sseek64 while linking examples. Apparently these functions are defined in newlib/libc/stdio64/, but this directory won't be compiled neither on my linux machine nor on Mac OS. Again, I have no clue why this works as is on Mac OS.

Both fixes don't seem nice enough because they require manual merging when upgrading newlib again and only fight the symptoms, so maybe someone has a better clue on how to solve this.

Merge request reports

Loading