GCC/clang: int64 routines in C

This commit is contained in:
Arun Thomas
2010-11-12 18:38:10 +00:00
parent afeb246328
commit f0ab18377d
14 changed files with 411 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ LDFLAGS+= -T arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib -L/usr/lib
CFLAGS+=-march=i386
DPADD+= ${LIBC}
LDADD+= -lc
LDADD+= -lgcc -lc -lgcc
.endif
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}

View File

@@ -29,6 +29,9 @@
#endif
#include "spinlock.h"
/* dummy for linking */
char *** _penviron;
/* Prototype declarations for PRIVATE functions. */
FORWARD _PROTOTYPE( void announce, (void));