gcc compiler blunder windows xp
i'm removing totally bizzare blunder perplexing accumulate c way controlling gcc. here collection record i am using:
echo compiling, assembling, fasten core:
nasm -f aout -o start.o start.asm
gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -i./include -c -o consoleio.o consoleio.c
gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -i./include -c -o core.o core.c
gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -i./include -c -o system.o system.c
ld -t link.ld -o core.bin start.o core.o system.o consoleio.o
echo done!
concat.py
pause
here blunder messages i am receiving perplexing run code. files same directory, approbation route non-static set adult correctly:
c:\simple\core>build.bat
c:\simple\core>echo compiling, assembling, fasten core:
now compiling, assembling, fasten core:
c:\simple\core>nasm -f aout -o start.o start.asm
c:\simple\core>gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-func
tions -nostdinc -fno-builtin -i./include -c -o consoleio.o consoleio.c
the component can't govern specified program.
c:\simple\core>gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-func
tions -nostdinc -fno-builtin -i./include -c -o core.o core.c
c:\simple\core>gcc -wall -o -fstrength-reduce -fomit-frame-pointer -finline-func
tions -nostdinc -fno-builtin -i./include -c -o system.o system.c
the component can't govern specified program.
c:\simple\core>ld -t link.ld -o core.bin start.o core.o system.o consoleio.o
c:/djgpp/bin/ld.exe: system.o: such file: such record office (enoent)
c:\simple\core>echo done!
done!
c:\simple\core>concat.py
traceback (most new last):
record "c:\simple\core\concat.py", line 12, <module>
open("core.bin", "rb") core:
ioerror: [errno 2] such record directory: 'core.bin'
now, engaging thing gcc command, emanate i'm having. (the issues seem cascading this.) compiling core.c, gcc management works only glorious great, produces .o record expected. attempting accumulate system.c consoleio.c, gcc fails, nonetheless unequivocally astonishing way: appears nonetheless windows can't run program. creates zero clarity me. i've attempted any array things, including controlling commands myself outmost window. something core.c only special, i can't figure out inadequacy is. i literally copied line altered filenames emanate twin lines failing.
so, short, help. i'm controlling djgpp gcc windows xp, along python book during finish should tie all together. (this worked digest unparalleled source file, nonetheless attempting separate record removed files caused uncanny error.)
thanks.
ps: yes, are controlling collection file, i know creates cringe. however, i'd unequivocally know blunder before relocating makefile possible. ^_^
edit: supposed answer indeed the problem, nonetheless emanate djgpp, windows. (windows doesn't seem have management limit.) fortitude accumulate mingw instead djgpp, bound emanate right away. interjection guys!
Comments
Post a Comment