Re: Wrong architecture on 64 bit build?
Chris Liddell <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <CAGy8pWpd7QKC2WQsnHtqU_ihb7XffxpMfn7VtCt3kOX27xDDig@mail.gmail.com> |
genarch.exe creates arch.h, in this case, by copying arch\windows-x64-msvc.h into obj\arch.h. The best I can suggest here is to make sure that the obj and obj64 directories are deleted before trying again. Chris On 30 March 2016 at 14:55, <[email protected]> wrote: > Well, it's different now. 8-) > > I took the command line from the VS "build" command and ran it in the 64 bit > VS command window and got this: > > .\obj64\aux_\genarch.exe .\obj64\arch.h .\base\..\arch\windows-x64-msvc.h > NMAKE : fatal error U1045: spawn failed : Invalid argument > > .\obj64\arch.h does indeed, not exist and I don't see it in any of the > directories. > > Do you have any idea what creates it or where it's hiding? > > I appreciate the help. I'm just trying to make a tiny change, but it's being > uncooperative. > > When I get this working, I'll submit a patch so "ARCHAIC" is a switch in the > epson device, not a #define. It's used with some old Epson-compatible > printers. > > Thanks, > > Terry > > > > > > ************************************************************** > * Assuming that target has SSE2 instructions available. If * > * this is NOT the case, define DONT_HAVE_SSE2 when building. * > ************************************************************** > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64\cups mkdir .\obj64\cups > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64 mkdir .\obj64 > if not exist .\obj64\aux_ mkdir .\obj64\aux_ > if not exist .\bin mkdir .\bin > echo -W2 /wd4996 /wd4224 /nologo /MT -DCHECK_INTERRUPTS > -D_Windows -D__WIN32__ > .\obj64 > \ccf32.tr > cl /wd4996 /wd4224 /DHAVE_SSE2 /FR.\obj64\ @.\obj64\ccf32.tr > .\base\echogs.c -Fo.\ob > j64\aux_\echogs.obj /Fe.\obj64\aux_\echogs.exe /link "" > echogs.c > cl /wd4996 /wd4224 /DHAVE_SSE2 /FR.\obj64\ @.\obj64\ccf32.tr > .\base\genconf.c /Fo.\o > bj64\aux_\genconf.obj /Fe.\obj64\aux_\genconf.exe /link "" > genconf.c > cl /wd4996 /wd4224 /DHAVE_SSE2 /FR.\obj64\ @.\obj64\ccf32.tr > /Fo.\obj64\aux_\genarch > .obj /Fe.\obj64\aux_\genarch.exe .\base\genarch.c /link "" > genarch.c > .\obj64\aux_\genarch.exe .\obj64\arch.h > .\base\..\arch\windows-x64-msvc.h > NMAKE : fatal error U1045: spawn failed : Invalid argument > Stop. > > > >