This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] setup: port to 64-bit, part 1


On Mar  3 00:46, Yaakov (Cygwin/X) wrote:
> This patch fixes the remaining issues, *except in autoload.c*, for a
> 64bit setup.exe.  Some notes:
> 
> 1) This assumes that 64bit .ini will be named setup64.ini.
> 
> 2) This also assumes that 64bit setup will only install 64bit packages
> (IOW only use setup64.ini, regardless of argv[0])
> 
> 3) The resulting binary is still named setup.exe, but we'll want to
> provide this for download as e.g. setup64.exe.  It would be up to
> whomever (cgf?) to rename this upon uploading.  Alternatively, the
> buildsystem could be patched to change the executable name based on
> $host_cpu.

It would be helpful if the build system would already care for that.

> 4) I could #ifndef much more legacy support code, but with the recent
> removal of legacy packages from sourceware, are we going to just
> remove all that from setup?

IMHO, yes.  Let's get rid of all that old cruft.  This also allows to
get rid of autoload in setup entirely.  All of the autoloaded entry
points exist on all supported systems.  For the setup tool we should
really just link against the required DLLs and be done with it.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]