Re: compiling translated files on Linux AMD64
- Posted by Jeremy Cowgar <jeremy at ?owgar.co?> May 21, 2008
- 783 views
Kenneth Rhodes wrote: > > Success! > Great job! This is very good news. Thank you for working on this so long. I am going to ask one thing, if you would... Can you add your instructions to the wiki so that they do not get lost? http://euwiki.ayo.biz/Main_Page That wiki will soon be moving to openeuphoria.org > In order to use the -m32 switch, the 32bit version of gcc must be > installed in addition to the native gcc 64 bit compiler. > > ./ecu ed.ex -- generated the *.c files and emake > edit the emake file to include the -m32 switch: > <snip> > > Everything is sooooooooo simple-- in retrospect. > hehe. Everything (well, almost) always does. > I'm not sure what would happen if the -m32 switch was > added to the emake generation code. If under a 32bit system > the switch is just ignored, then we've got a genuine kludge, eh? > I wonder if we should add a parameter to ecu/ecw that will pass parameters on to the compiler/linker: ./ecu -cparams "-m32 -abc -def" -ldparams "-??? -???" myprog.ex Or something like that? -- Jeremy Cowgar http://jeremy.cowgar.com