History log of /seL4-test-master/projects/musllibc/tools/musl-gcc.specs.sh
Revision Date Author Comments
# fd1d7be3 07-Jun-2013 Rich Felker <dalias@aerifal.cx>

fix mixup in previous change to gcc wrapper


# c1613560 07-Jun-2013 Rich Felker <dalias@aerifal.cx>

make gcc-specific headers (intrinsics, etc.) available with wrapper

they are intentionally listed after the libc include directory so that
the gcc float.h, etc. don't get used in place of the libc ones.


# 5d26d5d1 23-Jul-2012 Rich Felker <dalias@aerifal.cx>

gcc wrapper improvement: leave libgcc dir in the library path

this is needed in case -lgcc is passed explicitly on the link command
line, for example if the wrapper is being used to build musl itself.


# 6e0ad227 06-Jun-2012 Rich Felker <dalias@aerifal.cx>

make gcc wrapper rewrite link options rather than just extending them

this is not tested yet, but should work to get rid of unwanted
--hash-style=gnu hacks present in some distro-patched gcc versions.


# ed671727 30-May-2012 Rich Felker <dalias@aerifal.cx>

fix musl-gcc wrapper to work with -pie

linking the wrong crt1.o resulted in textrels and thus crashing


# 58f430c1 22-Apr-2012 Rich Felker <dalias@aerifal.cx>

new gcc wrapper, entirely specfile based

the _concept_ of this wrapper has been tested extensively, but the
integration with the build/install system, and using a persistent
specfile rather than one generated at build-time, have not been
heavily tested and may need minor tweaks.

this approach should be a lot more robust (and easier to improve) than
writing a shell script that's responsible for trying to mimic gcc's
logic about whether it's compiling or linking, building shared libs or
executable files, etc. it's also lighter weight and should result in
mildly faster builds when using the wrapper.