Clint Jeffery <[EMAIL PROTECTED]> wrote: > Dietmar, > > What operating system and compiler version are you trying to build on? > What configuration and build steps did you perform at the command line > to get the error you got? > > As far as I know, Unicon is not fully ported to Athlon64. Barry Schwartz > contributed a co-expression switch that compiles OK for me (i.e. I'm not > having the error you report on amd64_linux on Suse 9.1 64-bit). The Icon > code has been previously ported to 64-bits and ought to run, but the newer > Unicon-specific code (POSIX interface, possibly ODBC or other new features) > has not been ported/checked out on Amd64 yet. > > I'd be glad to work with any and all interested parties to finish the port.
The AMD64 rswitch.s is completely different from the rswitch.s for x86, because on AMD64 you pass arguments differently. There are more registers available for efficient argument passing. I have a patch for 11.1-beta on AMD64, which I think was able to get Unicon through most or all of the tests. This was on Gentoo Linux with gcc 3.3. I haven't yet tested it with gcc 3.4. Also I got the iconc compiler working, but that may be more system dependent than icont/iconx. Another approach is to build Unicon as a 32-bit application, if your system supports it. Adding the -m32 flag to the gcc flags might suffice. Then you would use the regular Linux configuration and rswitch.s. -- [EMAIL PROTECTED] http://www.chemoelectric.org
pgpsGf0u2BIOn.pgp
Description: PGP signature