Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: CM3-Cross-c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 103 of 149
Post > Topic >>

Re: CM3-Cross-compiler problems

by dragisha@[EMAIL PROTECTED] (Dragi?a Duri&#263;) Nov 17, 2004 at 12:37 PM

Iztok,

At various places in source tree, one of them in Target.m3 (maybe also
Target.i3) in m3middle package you have to define "internals" of your
target platform. Once you know what and where to seek (mostly C
internals of platform) it is pretty straightforward.

Then - you have to find platform dependent parts of m3core,
recognizable as folders with subfolders like LINUXLIBC6 and FreeBSD
something. I can list them in pm3 tree only, so it's better for you to
try to read them from mentioned do***ent. Also, don't forget to add
them to arrays in m3makefiles in appropriate source folders.

In any case, I would recommend pm3-1.1.15 as platform for ****ting. CM3
people made great mess with Unicode deep in CM3.

dd


Izo <I@[EMAIL PROTECTED]
> wrote in message
news:<s4Tld.5599$F6.1283396@[EMAIL PROTECTED]
>...
> Version:
> 
> Critical Mass Modula-3 version d5.2.7
>   last updated: 2004-10-31
> 
> I am trying to build up the cross compiler for StrongARM SA1110 due
> running on i686 platform. I have followed instructions on
> http://www.elegosoft.com/cm3/****ting.html
up to the step 4. Yet, at the
> end of the day, cm3 does not seem to show any wish to produce SA1110
code:
> 
> 
> When trying to build the m3core:
> 
> ># M3CONFIG="/usr/local/cm3/bin/cm3.cfg-arm-linux" cm3 -build -verbose
> EVAL ("/usr/local/cm3/bin/cm3.cfg-arm-linux")
> --- building in STRONGARM ---
> 
> cd STRONGARM
> ignoring ../src/m3overrides
> 
> EVAL ("m3make.args")
> rm .M3****P
> rm .M3OVERRIDES
> "/home/iztok/m3/cm3/m3-libs/m3core/src/runtime/ex_frame/m3makefile",
> line 8: quake runtime error: table does not contain entry for:
"STRONGARM"
> 
> --procedure--  -line-  -file---
> include_dir         8
> /home/iztok/m3/cm3/m3-libs/m3core/src/runtime/ex_frame/m3makefile
> include_dir        55
> /home/iztok/m3/cm3/m3-libs/m3core/src/runtime/m3makefile
> include_dir        17  /home/iztok/m3/cm3/m3-libs/m3core/src/m3makefile
>                     5
> /home/iztok/m3/cm3/m3-libs/m3core/STRONGARM/m3make.args
> 
> Fatal Error: package build failed
> 
> seconds  #times  operation
>     0.04          other
> ---------------------------------------------------
>     0.04          TOTAL
> 
> rm m3make.args
> cd ..
> 
> 
> When trying to build anything other:
> 
> ># M3CONFIG="/usr/local/cm3/bin/cm3.cfg-arm-linux" cm3 -build -verbose
> EVAL ("/usr/local/cm3/bin/cm3.cfg-arm-linux")
> --- building in STRONGARM ---
> 
> cd STRONGARM
> EVAL ("m3make.args")
> rm .M3****P
> rm .M3OVERRIDES
> 
> Fatal Error: unrecognized target machine: TARGET = STRONGARM
> 
> 
> seconds  #times  operation
> ---------------------------------------------------
>     0.00          TOTAL
> 
> rm m3make.args
> cd ..
> 
> 
> 
> What is going wrong ?
> 
> Iztok Kobal
 




 3 Posts in Topic:
CM3-Cross-compiler problems
Izo <I@[EMAIL PROTECTE  2004-11-15 01:51:36 
Re: CM3-Cross-compiler problems
dragisha@[EMAIL PROTECTED  2004-11-17 12:37:23 
Re: CM3-Cross-compiler problems
Izo <I@[EMAIL PROTECTE  2004-11-18 15:51:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:32:57 CDT 2008.