------- Additional Comments From hjl dot tools at gmail dot com 2009-11-16 20:04 ------- build.bat has
--- @echo off set PATH=%PATH%;.\bin;.\i586-elf\bin;.\libexec\gcc\i586-elf\3.4.6 set CFLAGS=-g -Wall -W -nostartfiles -nostdinc -nostdlib -fno-builtin set CINCLUDES=-I./src -I./include -I./include/kernel echo Compiling loader... nasm -f elf32 kstart.asm -o kstart.o echo Compiling sources... gcc %CFLAGS% %CINCLUDES% -o main.o main.c echo Linking... ld -nostdlib kstart.o main.o -o krnl.x -T krnl1m.ld objdump --source -D -S -s krnl.x > krnl.lst pause -- [...@gnu-6 testcase]$ file main.o main.o: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped [...@gnu-6 testcase]$ Please add -c to CFLAGS. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=10965 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils