OS Specific Toolchain: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→Introduction: You'll get errors if not using automake-1.11 |
m →gcc/config/myos.h: undefine macros before redefining them |
||
Line 194: | Line 194: | ||
/* Default arguments you want when running your |
/* Default arguments you want when running your |
||
i686-myos-gcc/x86_64-myos-gcc toolchain */ |
i686-myos-gcc/x86_64-myos-gcc toolchain */ |
||
#undef LIB_SPEC |
|||
#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. |
/* Files that are linked before user code. |
||
The %s tells GCC to look for these files in the library directory. */ |
The %s tells GCC to look for these files in the library directory. */ |
||
#undef STARTFILE_SPEC |
|||
#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s" |
#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s" |
||
/* Files that are linked after user code. */ |
/* Files that are linked after user code. */ |
||
#undef ENDFILE_SPEC |
|||
#define ENDFILE_SPEC "crtend.o%s crtn.o%s" |
#define ENDFILE_SPEC "crtend.o%s crtn.o%s" |
||