On Aug 14, 7:07 pm, Jason <ja...@njkfrudils.plus.com> wrote: > On Saturday 14 August 2010 18:39:50 Cactus wrote: > > > > > > > On Aug 14, 4:53 pm, "jason" <ja...@njkfrudils.plus.com> wrote: > > > ----- Original Message ----- > > > From: "jason" <ja...@njkfrudils.plus.com> > > > To: <mpir-devel@googlegroups.com> > > > Sent: Saturday, August 14, 2010 4:43 PM > > > Subject: Re: [mpir-devel] Re: MPIR 2.2 > > > Hi Jason, > > > The assembler extension on Windows is 'asm' and changing this would be > > a big issue for me with a high cost. > > > I would either have to change all my assembler code (much more than > > MPIR) to use the 'as' extension (which would make my code unique on > > Windows since pretty well everyone uses 'asm') or I would have to have > > special build customisation files for MPIR, which would be a high cost > > in maintenance terms. > > > This is not a path I would want to go down so I suggest that you just > > copy the Windows stuff into separate directories for use in mingw64. > > This would give you the freedom to do what you want without changing > > the Visual Studio builds. > > > Brian > > OK , I asked in case it was easy. > As we have a pre-distro step (ie autoreconf) every time we add a file/change > configure anyway , I can just add it to that so that the "user" never need > know. > Perhaps even better the sym links that configure makes can just "drop the m" . > But I still HAVE to change the include path , as it is taken from where the > sym link is , not the original file location. In a pre-distro step I can > easily > automate it and keep it legible unlike if we did it at build time , then we > have to comply with everything that been done before on every machine , ever. > > I have to change the object file format for yasm as for some reason it does > not > default to x64 , this is easy , and I've got to link to x86_64w/yasm_mac.inc > I think it will work then , it should compile anyway :) > > Is there much difference between x86w and x86 , they use the same ABI , I > wonder , we could put this into the pre-distro step , it would save > maintainance , and the code base would be notionally smaller > > Jason- Hide quoted text - > > - Show quoted text -
Hi Jason It would be nice to keep all the files together - including yasm_mac.inc - in either mpn\x86_64w or mpn\x86w directroies as I then know which directories I have to manage. I can easily avoid the directory navigation within the asm files by adding a YASM include path of '..\..\mpn\x86_64w' for x64 and '..\.. \mpn\x86w' for win32 in the Visual Studio invocation of YASM. Each file would then simply have %include 'yasm_mac.inc' as its include. I assume that you could then either (a) add a relative include path to YASM to navigate to the 'mpn\x86_64w' or 'mpn\x86w' directories from wherever the current directory is, or (b) copy yasm_mac.inc in the prebuild step from one of these directories to where you want it. As a first step I can take out the directory navigaation if that would help. Brian -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-de...@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.