ggn wrote:Can you try that on your built compiler and see if LDFLAGS_FOR_TARGET is the same as the above?
Code: Select all
$ m68k-atariultrabrown-elf-gcc --verbose
Using built-in specs.
Configured with: ../gcc-8.1.0/configure --target=m68k-atariultrabrown-elf --disable-nls --enable-languages=c,c++ --enable-lto --prefix=/home/simon/brown --disable-libssp --enable-softfloat --disable-libstdcxx-pch --disable-clocale --disable-libstdcxx-threads --disable-libstdcxx-filesystem-ts --disable-libquadmath --enable-cxx-flags='-O2 -fomit-frame-pointer -fno-threadsafe-statics -fno-exceptions -fno-rtti -fleading-underscore' 'CFLAGS_FOR_TARGET=-O2 -fomit-frame-pointer -fleading-underscore' 'CXXFLAGS_FOR_TARGET=-O2 -fomit-frame-pointer -fno-threadsafe-statics -fno-exceptions -fno-rtti -fleading-underscore' 'LDFLAGS_FOR_TARGET=--emit-relocs -Ttext=0'
Thread model: single
gcc version 8.1.0 (GCC)
Well, -Ttext=0 is there. Another thing is that I have to manually specify -fleading-underscore, otherwise my code doesn't build, but it's already there in CFLAGS_FOR_TARGET.
I noticed that it still says --prefix=/home/simon/brown, which is where I built everything. I later moved everything to /opt/brown as you can see in the paths. Can that be an issue?
That leads me to another thing that I wanted to ask you: the default install path for bigbrownbuild if RUN_MODE=Admin (and machine is not Mac) is /opt/compiler-explorer. I saw the tickets on compiler-explorer's github so I understand why that is, but maybe there could be a RUN_MODE=CE instead for compiler-explorer specific settings, and have RUN_MODE=Admin install to /opt/brown?
Edit: I tried to recompile everything with RUN_MODE=Admin so that all paths would be the same, but it still does not work.