<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
/usr/lib32, good point, we can/should handle that automatically.<BR>
If word size 32bits and /usr/lib32 exists, use it instead of /usr/lib.<BR>
Similarly for /usr/lib64. etc.<BR>
<BR>
When I get back I'll fiddle with m3-sys/cminstall/src/config-no-install.<BR>
<BR>
I never use cminstall.<BR>
<BR>
I suggest <BR>
<A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-LINUXLIBC6-d5.7.0.tar.bz2">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-LINUXLIBC6-d5.7.0.tar.bz2</A> <BR>
or <BR>
<A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-LINUXLIBC6-d5.7.0.tar.bz2">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-LINUXLIBC6-d5.7.0.tar.bz2</A> <BR>
<BR>
though I guess they need a readme. <BR>
<BR>
They would admittedly probably have the same problem but I can fix that easily. <BR>
(-m32/--32 maybe not, but /usr/lib vs. /usr/lib32 probably.)<BR>
<BR>
You might also try the native: <BR>
<A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-AMD64_LINUX-d5.7.0.tar.gz">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-AMD64_LINUX-d5.7.0.tar.gz</A> <BR>
or <BR>
<A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-AMD64_LINUX-d5.7.0.tar.gz">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-AMD64_LINUX-d5.7.0.tar.gz</A> <BR>
<BR>
"min" contains only the compiler and m3core and libm3.<BR>
"std" contains "everything" -- everything that currently builds successfully.<BR>
<BR>
- Jay<BR><BR><BR>> Date: Thu, 1 Jan 2009 13:19:36 +0100<BR>> From: roland.illig@gmx.de<BR>> To: m3devel@elegosoft.com<BR>> Subject: Re: [M3devel] Is Modula-3 available on x86_64-unknown-linux-gnu?<BR>> <BR>> Jay schrieb:<BR>> > Can you please try a newer build?<BR>> > ie: one that uses pthreads?<BR>> <BR>> I first used cm3-5.4.0, which had the problems you mentioned with the<BR>> user threads.<BR>> <BR>> Then I tried cm3-5.5.0, which always produces an internal compiler error<BR>> (Segmentation Fault) in cm3cg, which unfortunately has all debugging<BR>> symbols stripped:<BR>> <BR>> $ /home/roland/usr.local/packages/cm3-5.5.0/bin/cm3<BR>> --- building in LINUXLIBC6 ---<BR>> <BR>> new source -> compiling Hello.m3<BR>> Hello.m3: In function 'Hello_M3':<BR>> Hello.m3:25: internal compiler error: Segmentation fault<BR>> <BR>> At last I tried today's daily snapshot (5.7.0-2009-01-01-03). I was<BR>> confused about the installer, which isn't interactive anymore. And if I<BR>> run "./cminstall --help" or "./cminstall -?", like probably every Unix<BR>> user would do, I don't even get a useful error message. Most programs<BR>> print a single line that looks like:<BR>> <BR>> usage: ./cminstall [-verbose] [-interactive] directory<BR>> <BR>> That message would have been very helpful. Finally I got around this<BR>> usability issue, and managed to install it. Since the installation was<BR>> completely non-interactive, I edited the cm3.cfg file manually. I set<BR>> SYSTEM_CC="/usr/bin/gcc -m32" and SYSTEM_AS="/usr/bin/as --32", and<BR>> changed all "-L/usr/lib" into "-L/usr/lib32". Then I tried to build the<BR>> hello world program, and this is what I got:<BR>> <BR>> $ /home/roland/usr.local/packages/cm3-5.7.0.2009.01.01/bin/cm3<BR>> --- building in LINUXLIBC6 ---<BR>> <BR>> new source -> compiling Hello.m3<BR>> -> linking hello<BR>> $ ./LINUXLIBC6/hello<BR>> Hello World!<BR>> <BR>> Yippieeeeh.<BR>> <BR>> Roland<BR><BR></body>
</html>