I realize I'm a newbie around here (in fact, I made this account to post this. Have been lurking for a couple of weeks. I'm a Software Engineer mainly dealing in C# and Dynamic C every day, so this is a change of pace for me), and hopefully this is not too obvious of a question, but when I try to compile boot.s as in the BareBones tutorial, I get the following errors:
https://ibb.co/cPcAV6
boot.s: Assembler messages:
boot.s: Warning: end of file not at end of a line; newline inserted
boot.s:46: Warning: .type pseudo-op used outside of .def/.endef: ignored.
boot.s:46: Error: junk at end of line, first unrecognized character is `_'
boot.s:109: Warning: .size pseudo-op used outside of .def/.endef: ignored.
boot.s:109: Error: junk at end of line, first unrecognized character is `_'
The code is directly pasted (I wanted to be sure it was not a typo on my end) into Visual Studio Code and compiled through Cygwin's Terminal (I'm running W10) / gcc.
The lines referenced in the error can be seen here:
https://ibb.co/cywUq6
https://ibb.co/fJFTiR
Code: Select all
46: .type _start, @function
109: .size _start, . - _start
Thank you!