OS Specific Toolchain: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
→‎gas/configure.tgt: Added a not about emulation effects on '/' character.
Line 195: Line 195:
i686-myos-gcc/x86_64-myos-gcc toolchain */
i686-myos-gcc/x86_64-myos-gcc toolchain */
#define LIB_SPEC "-lc" /* link against C standard library */
#define LIB_SPEC "-lc" /* link against C standard library */

/* Files that are linked before user code.
The %s tells gcc to look for these files in the library directory. */
#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"

/* Files that are linked after user code. */
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"


/* Don't automatically add extern "C" { } around header files. */
/* Don't automatically add extern "C" { } around header files. */
Line 211: Line 218:
} while(0);
} while(0);
</source>
</source>

'''TODO''': It would make sense to document the handling of <tt>STARTFILE_SPEC</tt>, <tt>ENDFILE_SPEC</tt>here as well.


=== libstdc++-v3/crossconfig.m4 ===
=== libstdc++-v3/crossconfig.m4 ===