Rafael, Sorry for the delay...
On Wed, Dec 10, 2003 at 01:38:03AM -0800, Rafael Kitover wrote: > I noticed that the /bin/rebaseall script assumes the following: > > DefaultBaseAddress=0x70000000 > DefaultOffset=0x10000 > > Is this going to be the standard base and offset for DLLs in Cygwin? I guess so. I based my decision on the following: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/rebaseimage.asp Note I eliminated MIPS support in favor of a larger rebase address space. > Is this then a reasonable thing to include in the Cygwin hints file > for my Perl project: > > package MY; > sub MY::dynamic_lib { > my $target = shift->SUPER::dynamic_lib(@_); > if (defined $target && $target && -e '/bin/rebase') { > $target .= <<'EOF'; > rebase -v -d -b 0x70000000 -o 0x10000 $@ I guess so. > Will binutils eventually rebase things to some sort of standard as > well? Not unless you supply a patch... :,) However, since the build and target machines are unlikely to match (from a rebase POV), I don't think this is a viable approach. IMO, integration with Cygwin's setup.exe is a better way to go. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/