about compile error
Moderator: BigEvilCorporation
about compile error
Nice to meet you.
I wanted to start the programming of genesis.
I downloaded sgcc and developed the contents of the dev file in c:\genesis, and compiled the demos, but..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 27: Command syntax error
*** 1 errors during make ***
C:\GENESIS\DEMO1>
The error above was displayed.
I erased ";" which seemed to be the cause of the error.( ";"is in makefile.) Then Icompiled it again. But..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"Making component -> demo1.o"
...\bin\hcc -I..\\include\ demo1.c
** error -1073741819 ** deleting demo1.o
C:\GENESIS\DEMO1>
Again the error above was displayed. I can not compile the demos.
Please tell me how to solve it.
I wanted to start the programming of genesis.
I downloaded sgcc and developed the contents of the dev file in c:\genesis, and compiled the demos, but..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 27: Command syntax error
*** 1 errors during make ***
C:\GENESIS\DEMO1>
The error above was displayed.
I erased ";" which seemed to be the cause of the error.( ";"is in makefile.) Then Icompiled it again. But..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"Making component -> demo1.o"
...\bin\hcc -I..\\include\ demo1.c
** error -1073741819 ** deleting demo1.o
C:\GENESIS\DEMO1>
Again the error above was displayed. I can not compile the demos.
Please tell me how to solve it.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Welcome on the board
First, i don't know where you got that make.exe file, but a makefile by borland doesn't sound good...
I don't really want to "sell" it but you should try that mini devkit for genesis :
http://www.spritesmind.net/_GenDev/foru ... c.php?t=14
It only includes the strict minimum necessary for genesis rom compilation.
You have to modify the batch file (.bat) accordling to your installation path then use them (from your sources directory) for compilation.
Cheers.
First, i don't know where you got that make.exe file, but a makefile by borland doesn't sound good...
I don't really want to "sell" it but you should try that mini devkit for genesis :
http://www.spritesmind.net/_GenDev/foru ... c.php?t=14
It only includes the strict minimum necessary for genesis rom compilation.
You have to modify the batch file (.bat) accordling to your installation path then use them (from your sources directory) for compilation.
Cheers.
Last edited by Stef on Mon Dec 18, 2006 10:39 pm, edited 2 times in total.
Re: about compile error
Looks like your PATH variable is setup for Borland's compiler. You will have to create a .bat to setup a PATH variable correct each time you startup a DOS prompt in Windows.itahashi wrote:Nice to meet you.
I wanted to start the programming of genesis.
I downloaded sgcc and developed the contents of the dev file in c:\genesis, and compiled the demos, but..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 27: Command syntax error
*** 1 errors during make ***
C:\GENESIS\DEMO1>
The error above was displayed.
I erased ";" which seemed to be the cause of the error.( ";"is in makefile.) Then Icompiled it again. But..
C:\GENESIS\DEMO1>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"Making component -> demo1.o"
...\bin\hcc -I..\\include\ demo1.c
** error -1073741819 ** deleting demo1.o
C:\GENESIS\DEMO1>
Again the error above was displayed. I can not compile the demos.
Please tell me how to solve it.
Thank you for your reply.
I created a .bat to change a PATH for Borland's compiler when I startupped a DOS prompt.
However, an error is displayed. I have little knowledge about how to create a path for
something. Looks like my creating a path made the error.
I would like to know exactly how I can create a path to compile the demos.
I created a .bat to change a PATH for Borland's compiler when I startupped a DOS prompt.
However, an error is displayed. I have little knowledge about how to create a path for
something. Looks like my creating a path made the error.
I would like to know exactly how I can create a path to compile the demos.
Thank you for the reply.
I set it with a PATH below.
set PATH=c:\GENESIS\bin
And I compiled the demos by using this path.
(C)Copyright Microsoft Corp. 1992-1993
"Making component -> demo3.o"
...\bin\hcc -I..\\include\\ demo3.c
make.exe: *** [demo3.o] Error 5
C:\GENESIS\DEMO3>
These errors have appeared.
Please tell me why these things happen.
I set it with a PATH below.
set PATH=c:\GENESIS\bin
And I compiled the demos by using this path.
(C)Copyright Microsoft Corp. 1992-1993
"Making component -> demo3.o"
...\bin\hcc -I..\\include\\ demo3.c
make.exe: *** [demo3.o] Error 5
C:\GENESIS\DEMO3>
These errors have appeared.
Please tell me why these things happen.