On Tue, May 27, 2014 at 9:04 AM, Justin Cormack <[email protected]> wrote: > On Tue, May 27, 2014 at 12:29 AM, Justin Cormack > <[email protected]> wrote: >> On Tue, May 27, 2014 at 12:06 AM, Antti Kantee <[email protected]> wrote: >>> On 26/05/14 23:00, Justin Cormack wrote: >>>> Its adding the -m32 too late, it is trying to call the compiler first >>>> with just the -march=i586 which is not valid for amd64. eg it calls >>>> cppdefines __LP64__ to see if it is native 64 bit but it needs to do >>>> that with passed flags, as they could change __LP64__ eg if on mips >>>> you pass -mabi=n32. It might be possible to fix but its non obvious... >>> >>> ic. Sounds like we should remove the -32/-64 options. >> >> That would simplify it quite a bit, will do that tomorrow... > > OK, removed -32/-64 in that branch, removes 90 odd lines of code. So > the replacement for eg using -32 is > ./buildrump.sh -F ALLFLAGS=-m32 which is not too much more typing. > Will add a wiki page. >
Added a section on flags in https://github.com/rumpkernel/wiki/wiki/Repo:-buildrump.sh The only significant thing left using the environment is now BUILDRUMP_DBG - maybe changing that to a command line option makes sense... Justin ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
