Re: compiling translated files on Linux AMD64

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jeremy Cowgar wrote:
> 
> Kenneth Rhodes wrote:
>  
> > 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?

That would be useful.  It might also make sense to add a specific switch
for 64-bit platforms, since these are likely to become more common.  I'd
think something like:

  -64

Or maybe there's a way to detect this by default and make it happen 
automagically?  I think it should be available through uname, which we 
are already using in configure in the build process.

I suppose we could also see if this causes problems on a 32-bit system, and 
if not, just add it by default.  This seems like it would work, but is
just not very elegant.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu