Hi,
in another post titled "Intel to AT&T Assembly" vVv replied to a problem I had with compiling the AT&T inline Assembly code translated from the Intel Assembly code that Fordy posted in response to another post.
Yeah,
I've been asking a lot of questions lately...![]()
He fixed the problem which would give gcc a hard time, but ...
Since vVv is using FreeBSD, he's not getting the errors that I'm getting when trying to use mingw's port of GNU compiler tools (gcc, g++, etc.) with DevCPP (4, 4.9.7.8 beta 5, etc.) All of the correct commandline options are being passed, with and without optimization options.
I'm still getting :
A copy of the source is attached. This source has been modified from an Intel Syntax version, which is included at the bottom of the code in a comment block. Perhaps you'll spot something amiss...undefined reference to `Hello1'
undefined reference to `Hello2'
* A point I'd like to make: The original code which Fordy posted, using Intel Inline Assembly, cleanly compiles and works exactly as it should.
Thanks for any help and/or viewing this post. I'm hoping to get my hands on a copy of cygwin to test it on that. If someone has good luck with that, please let me know.
* Note: problem fixed. Download updated copy of source for details.



LinkBack URL
About LinkBacks




I'm not an expert by far, but I hope that sort of design would prevail, as I hope to learn enough to design for both "worlds".