Page 4 of 4

Re: [UEFI bare bones/x-compiler config] - LD not finding li

Posted: Wed Feb 10, 2021 4:46 pm
by Schol-R-LEA
kzinti wrote:After some digging I found some dependency issues between the different part of the builds. This is now fixed.

Sorry for the trouble, I suppose I never saw this as I always build on top of an existing cross-compiler... Mmm.

You will have to delete the /opt/cross directory and the toolchain/build directory before attempting to build again.
Schol-R-LEA wrote:My default PATH is pretty long, actually. The first two sections are
According to the link I found above, this could explain the problem with not finding <new>. I would move the cross-compiler to the end of the path (that's what I have) or remove it entirely from the path while building the toolchain.
OK, these steps seem to have fixed the problems with the toolchain build, and I was able to proceed with the OS build and run the results in QEMU after that. This should give me enough of a basis to study the OS code.

Re: [UEFI bare bones/x-compiler config] - LD not finding li

Posted: Wed Feb 10, 2021 11:04 pm
by kzinti
Glad this problem was found and fixed. Let me know if you have any questions about how the UEFI code works.