[M3devel] Is Modula-3 available on x86_64-unknown-linux-gnu?
Jay
jay.krell at cornell.edu
Wed Dec 31 20:14:02 CET 2008
Mostly yes.
There is not always a full assortment of runtime libraries or development/static libs, like on a minimal Debian system.
In your config file, make sure to put -m32 on the cm3cg invocation, and perhaps -32 or --32 on the as/gas invocation. They may or may not help. Or hurt. (They can hurt in that older builds don't understand them and error right way. They can help if you have biarch tools that default to 64bit. They make no different on modern tools that are only 32bit or biarch tools that default to 32bit).
Or just try config files.
Though I don't test this out much.
I can look into it soon..late next week at the latest.
> Hello.ms:21: Error: suffix or operands invalid for `push'
Can you show us Hello.ms line 21, or the entire Hello.ms file?
There is also a "native" AMD64_LINUX port that you might try.
"biarchness" is nice and convenient, to kind of get two systems in one, but it can also be confusing and easily misused. OpenBSD is interesting here -- never any biarchness, simpler.
- Jay> Date: Wed, 31 Dec 2008 11:33:31 +0100> From: roland.illig at gmx.de> To: m3devel at elegosoft.com> Subject: [M3devel] Is Modula-3 available on x86_64-unknown-linux-gnu?> > Hi,> > when trying to build the simplest program, examples/hello, I get the> following error messages:> > $ ~/usr.local/packages/cm3-5.4.0/bin/cm3> --- building in LINUXLIBC6 ---> > new source -> compiling Hello.m3> Hello.ms: Assembler messages:> Hello.ms:21: Error: suffix or operands invalid for `push'> Hello.ms:23: Error: suffix or operands invalid for `push'> Hello.ms:27: Error: suffix or operands invalid for `pop'> ...> > Is there some way of running cm3 on an x86_64 system?> > Roland>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20081231/9ec9f4d2/attachment-0002.html>
More information about the M3devel
mailing list