Well... Zipslack likes it...
That's odd. I tried it on several versions of g++ for Win32 : mingw.
I tried using 3.2, 2.95.3-6, & 2.95.2. All of them report:
Quote:
undefined reference to `Hello1'
undefined reference to `Hello2'
I then rebooted and went into Zipslack 3.9 (www.slackware.com) and used g++ 2.7.2.3.
It works fine there. I guess it has to do with the port from Linux to Win32. I wouldn't think something like that would cause a problem... kinda' seems to simple compared to some monstrous programs I've seen... but who knows.
I'll have to look more into that. At least now I know that it's properly converted from Intel Assembly format to AT&T format.
* Edited: It's in the proper format, but the functions would not be called using explicit calling conventions. Those have been added to the code, and do not affect GCC's ability to compile it under a Linux environment. However, nothing has changed with the way mingw looks at it. It has also been reported that cygwin has the same problems. Perhaps gcc is just more lax? I started a new thread "Can anyone using mingw compile this" to address this problem. Thanks!
Thanks for your help vVv!