Re: rebaseall with extra files

2004-03-09 Thread Jason Tishler
Yitzchak,

On Mon, Mar 08, 2004 at 01:55:03PM -0800, Yitzchak Scott-Thoennes wrote:
> On Mon, Mar 08, 2004 at 04:32:53PM -0500, Jason Tishler wrote:
> > I will attempt to add an option to rebaseall that allows one to
> > specify a list of extra DLLs to rebase in addition to the standard
> > ones.  Sorry, no ETA, but hopefully soon.
> 
> So you would have to do something like:
> 
> rebaseall -T `find /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2 -iname 
> '*.dll'`
> 
> ?  That could get to be a pretty long command line; I have only a few
> module distributions installed and 8k of dll filenames.

No, the command line syntax would be the same as the one for rebase in
this regard:

$ rebase
usage: rebase -b BaseAddress [-Vdv] [-o Offset] [-T FileList | -] Files...
^

Hence, the above usage would be the following instead:

$ find /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2 -iname '*.dll' | 
rebaseall -T -

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/



Re: rebaseall with extra files

2004-03-08 Thread Yitzchak Scott-Thoennes
On Mon, Mar 08, 2004 at 04:32:53PM -0500, Jason Tishler <[EMAIL PROTECTED]> wrote:
> Caj,
> 
> On Mon, Mar 08, 2004 at 04:39:53PM +0100, Caj Zell wrote:
> > rebase -v -b  0x7000 `find 
> > /cygdrive/c/cygwin/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Tk 
> > -name "*.dll" `
> > 
> > and found out that I could now run my application as before. However,
> > afterwards seeing that it is not recommended for us not so experienced
> > users to twiddle around with rebase on its own, I am now a little bit
> > afraid that I may have caused problems with the dll:s that I will run
> > into later and at that time maybe have forgot about this
> > .dll-manipulation.
> 
> You should add "-d" above at a minimal.  This is an example why I issued
> the warning.
> 
> > Is there anyone that can recommend me how to "rebaseall", but also
> > incorporate the Tk-files above to avoid coming conflicts?
> 
> I will attempt to add an option to rebaseall that allows one to specify
> a list of extra DLLs to rebase in addition to the standard ones.  Sorry,
> no ETA, but hopefully soon.

So you would have to do something like:

rebaseall -T `find /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2 -iname '*.dll'`

?  That could get to be a pretty long command line; I have only a few
module distributions installed and 8k of dll filenames.

--
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/



Re: rebaseall with extra files

2004-03-08 Thread Jason Tishler
Caj,

On Mon, Mar 08, 2004 at 04:39:53PM +0100, Caj Zell wrote:
> rebase -v -b  0x7000 `find 
> /cygdrive/c/cygwin/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Tk -name 
> "*.dll" `
> 
> and found out that I could now run my application as before. However,
> afterwards seeing that it is not recommended for us not so experienced
> users to twiddle around with rebase on its own, I am now a little bit
> afraid that I may have caused problems with the dll:s that I will run
> into later and at that time maybe have forgot about this
> .dll-manipulation.

You should add "-d" above at a minimal.  This is an example why I issued
the warning.

> Is there anyone that can recommend me how to "rebaseall", but also
> incorporate the Tk-files above to avoid coming conflicts?

I will attempt to add an option to rebaseall that allows one to specify
a list of extra DLLs to rebase in addition to the standard ones.  Sorry,
no ETA, but hopefully soon.

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/



rebaseall with extra files

2004-03-08 Thread Caj Zell
Hello,

I have recently made a new install of cygwin and found out that my old 
Perl/Tk application did not work as usual. I googled a bit and found out 
this was due to the "Cygwin rebase problem" and consequently I run

rebaseall -v

This did not solve the problem as I saw that it did not touch the dll:s 
I made from my manual Perl/Tk installation that is found under

/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Tk

and its sub-directories. So, I made my own rebaseing by,

rebase -v -b  0x7000 `find 
/cygdrive/c/cygwin/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Tk 
-name "*.dll" `

and found out that I could now run my application as before. However, 
afterwards seeing that it is not recommended for us not so experienced 
users to twiddle around with rebase on its own, I am now a little bit 
afraid that I may have caused problems with the dll:s that I will run 
into later and at that time maybe have forgot about this .dll-manipulation.

Is there anyone that can recommend me how to "rebaseall", but also 
incorporate the Tk-files above to avoid coming conflicts?

--
Best Regards,
Caj Zell



--
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/