Tools->Build Tools...->New
Set "GNU C++ Compiler Tools" to enabled
Set "Display Name" to "GNU Assembler"
Set "Description" to "GNU Assembler"
Set "Category" to "Assembler"
Set "Enabled by default" to true
Set "Command Line" to "g++ -c -g2 -O0 -o $(TargetFileName) $(InputFileName)"
Set "Registered File Extensions" to "s"
Set "Target Extensions" and "Clean Extensions" to "o" for both Linux and
Solaris
After doing this the .s files would be assembled into the correct directory
(as .o files), but unfortunately they wouldn't get linked into the
executable. I managed to get them to link in by right clicking on the
target executable in the "Project Content" window, clicking on the "Build
Options Explorer", and then Options->Linker Options, and then adding the
object files manually to "Files to link" option.
Anybody know if I missed something?
Cheers!
Mike.