[M3devel] Is Modula-3 available on x86_64-unknown-linux-gnu?

Jay jay.krell at cornell.edu
Thu Jan 1 21:04:36 CET 2009


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


More information about the M3devel mailing list