User forums > Help
Using C::B...but problems
killerbot:
.asm files can already be processed, normally the compiler can deal with them.
Add them to your project --> they end up in Others ==> make sure the compile and link flag are set in the properties
sydbod:
Hi killerbot,
To the best of my knowledge the C++ compiler from Microsoft VisualStudio 6 can not handle *.asm files, and worst luck we do require that non compliant compiler, otherwise we will have to update around 100+ files to work with the later versions (the small group of enthusiasts that I am working with are very green...and so am I... and this would currently be beyound them)
This is why we are using ML assembler, to handle the *.asm files.
It has been a very steep learning cure for us :) but thanks for the reply.
sydbod:
--- Quote from: mandrav on October 11, 2007, 10:56:49 am ---Still work-in-progress but have a look at this.
--- End quote ---
Thanks for that link.
I think I can work with that. I was almost thinking I would have to add in the *.asm obj files to the others before the Link process.
This is what was originally done with the *.asm files, But I see no reason why I can not just simplify the whole code base as the others are just scratching around with the release compile version of the code and making some small modifications.
EG:
--- Code: ---# Begin Source File
SOURCE=.\xyangle.asm
!IF "$(CFG)" == "Game Code - Win32 Release"
# Begin Custom Build - MASM Release
OutDir=.\Release4
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml.exe /c /Cp /coff /nologo /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ELSEIF "$(CFG)" == "Game Code - Win32 Debug"
# Begin Custom Build
OutDir=.\Debug4
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml /c /Cp /coff /nologo /FR /Zi /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ELSEIF "$(CFG)" == "Game Code - Win32 Demo Release"
# Begin Custom Build - MASM Release
OutDir=.\Demo4
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml.exe /c /Cp /coff /nologo /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ELSEIF "$(CFG)" == "Game Code - Win32 Demo German Release"
# Begin Custom Build - MASM Release
OutDir=.\Demo4G
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml.exe /c /Cp /coff /nologo /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ELSEIF "$(CFG)" == "Game Code - Win32 German Master Debug"
# Begin Custom Build
OutDir=.\Game_Cod
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml /c /Cp /coff /nologo /FR /Zi /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ELSEIF "$(CFG)" == "Game Code - Win32 German Master Release"
# Begin Custom Build - MASM Release
OutDir=.\Game_Co0
InputPath=.\xyangle.asm
InputName=xyangle
"$(OutDir)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
ml.exe /c /Cp /coff /nologo /Fo$(OutDir)\$(InputName).obj $(InputPath)
# End Custom Build
!ENDIF
# End Source File
--- End code ---
Thanks for all you help.
Navigation
[0] Message Index
[*] Previous page
Go to full version