X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SCEBDCVIxRW3evxDFzvc/W9ObSfJIHPlRJ0kOyZnIgQ=; b=KqeJncFeKpoT0VWzfE5inkrbE7UqZqgX/JoDDglsP3YDG0+swoEuy4cdLn9kaTEpjO EHF5gBrSH5v3IY6OK9qgzzDAJ2AqzKfJ6aQRDJO5Jdf9Ih8jEDeP9u17j1KIaHUW5So/ NS5onKThf7PAT1ZPcHR15D/uT3qNG5CpYE0y5wwaKzAiNmxnRJYXcScbrRcdDbuw1ym3 e19OsuVVqjKv/CYgkjC6x82mcj6y00qC1lK5Rec2hd4sL8CVu6Hm/So8WFkxRVF7LLtw IvGlRBEselLP44p7GtHRnWzAjroAFncYGDEdiMfQpU2YEBs6wtjzN8+0HWnNAqWXPB1V G+xQ== MIME-Version: 1.0 In-Reply-To: <50F4E4FF.70602@ecosensory.com> References: <50F20C2D DOT 5080407 AT ecosensory DOT com> <201301130123 DOT r0D1NwQJ003903 AT envy DOT delorie DOT com> <50F34397 DOT 8000700 AT ecosensory DOT com> <50F46D96 DOT 8000506 AT ecosensory DOT com> <50F4E4FF DOT 70602 AT ecosensory DOT com> Date: Tue, 15 Jan 2013 08:27:43 -0500 Message-ID: Subject: Re: [geda-user] windows pcb version From: Bob Paddock To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=047d7b6757e002666504d353ba34 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --047d7b6757e002666504d353ba34 Content-Type: text/plain; charset=ISO-8859-1 This is how my system is setup on Windows. I put the various packages in the subdirectry J:\Apps when things are being installed. By putting everything under one directory you can zip up the whole thing and ship it off to your collaborator so that they don't have to go through each install step. When installing anything here if it offers to modify the system path, tell it no. If anything wants to put anything in C:\MinGW tell it no. Somethings are hard-coded to look there and you get hair-pulling hard to find bugs due to version mismatches. If it there is nothing there, the search will find the right item. http://nuwen.net/files/mingw/mingw-9.5.exe It tends to put things in a sub-directory of what you told it to, watch out for that. http://nuwen.net/files/mingw/msys-7.2.7z Unzip to J:\Apps\MSys then run extract.bat, This gets you bash/sh there is no need to run from inside of MSys unless you are trying to build something. Install tips here: http://nuwen.net/mingw.html Basically create a shortcut link to : open_distro_window.bat You'll need to edit, see below. Next install : http://sourceforge.net/projects/getgnuwin32/files/latest/download?source=files At the bottom of the install screen change the path to something simple like c:\Temp\Win32 rather than the default it offers. Then cd \temp\win32\GetGnuWin32 Run download.bat. This could take an hour or two to run depending on your system and internet speed. Then run 'install J:\Apps\Win32' this will take a while to run as well. If you need Perl install the community edition of ActiveState Perl: http://www.activestate.com/activeperl/downloads Things that are useful for development but not required for day to day usage: Robocopy is part of Windows7. It is close in spirit to rsync but not as good. If you are on XP you can get Robocopy from the 2003 Server Tool Kit. Put the tools in J:\Apps\MS. http://technet.microsoft.com/en-us/magazine/ee851678.aspx The NirSoft tools: http://launcher.nirsoft.net/ I use usbdeview frequently. Be warned that your virus checker will trigger on a lot of those files because they don't distinguish between development tools and 'hacking' tools. Systems Internal Suit: http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx 'Junction' is particularly useful for creating symbolic links: http://technet.microsoft.com/en-us/sysinternals/bb896768 Dr. MinGW is useful to have installed if you run into crashes. http://code.google.com/p/jrfonseca/wiki/DrMingw It will give you a back-trace. If you really want to go deeper into debugging on Windows you need to install their DDK/SDK and the system symbols. Usually DrM is enough by itself to show you that you forgot to initialize a pointer etc. You should end up with something like this, the ones with '*' are optional J:\Apps MinGW95 MS * MSys NirSoft * SI * Win32 Edit J:\Apps\MinGW95\set_distro_paths.bat : Change set PATH=%~dp0bin;%PATH% to set PATH=%~dp0bin;J:\Apps\MSys\bin;J:\Apps\Win32\J:\Apps\SI;J:\Apps\MS;%PATH% , Install the parts of gEDA/PCB as needed and you should be good to go. Do make sure that there a no non-existent directories in the resulting path. Some versions of GCC become extremely slow if there are such directories in the path on Windows. Such directories are all to common on Windows before you've installed any of the items from this message. The program 'which' will tell you what version you are running as there will be multiple versions of the same tool in this setup. --047d7b6757e002666504d353ba34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

This is how my system is setup on Windows.
I put th= e various packages in the subdirectry J:\Apps
when things are being inst= alled.

By putting everything under one directory you can zip up the= whole thing and ship it off to your=A0collaborator=A0so that
they don't have to go through each install step.

When installing= anything here if it offers to modify the system path, tell it no.

I= f anything wants to put anything in C:\MinGW tell it no.
Somethings are = hard-coded to look there and you get hair-pulling hard to find bugs due to = version mismatches.
If it there is nothing there, the search will find the right item.

<= a href=3D"http://nuwen.net/files/mingw/mingw-9.5.exe">http://nuwen.net/file= s/mingw/mingw-9.5.exe
It tends to put things in a=A0sub-directory= =A0of what you told it to,=A0watch out=A0for that.

http://nuwen.net/f= iles/mingw/msys-7.2.7z
Unzip to J:\Apps\MSys then run extract.bat,<= /div>

This gets you bash/sh there is no need to run from= inside of MSys unless you are trying to build something.

Install tips here:
http://nu= wen.net/mingw.html
Basically create a shortcut link to :

open= _distro_window.bat =A0You'll need to edit, see below.


Next = install :

http://sourceforge.net/projects/getgnuwin32/files/lat= est/download?source=3Dfiles

At the bottom of the install screen = change the path to something simple like
c:\Temp\Win32 rather than the default it offers.

Then cd \temp\win32= \GetGnuWin32
Run download.bat. =A0This could take an hour or two to run = depending on your system and internet speed.
Then run 'install J:\A= pps\Win32' =A0this will take a while to run as well.


If you need Perl install the community edition of ActiveState Perl:=
http://www.= activestate.com/activeperl/downloads

Things that are useful for = development but not required for day to day usage:

Robocopy is part of Windows7. =A0It is close in spirit to rsync but not= as good.
If you are on XP you can get Robocopy from the 2003 Server Too= l Kit.
Put the tools in J:\Apps\MS.

http://technet.microsoft.com/en-u= s/magazine/ee851678.aspx


The NirSoft tools:
http= ://launcher.nirsoft.net/
I use usbdeview frequently.
Be warned=A0= that your virus checker will trigger on a lot of those files because they d= on't distinguish between development tools and 'hacking' tools.=

Systems Internal Suit:

http://technet.microsoft.com/en-us/sysinte= rnals/bb842062.aspx

'Junction' is particularly useful fo= r creating symbolic links:
http:/= /technet.microsoft.com/en-us/sysinternals/bb896768


Dr. MinGW= is useful to have installed if you run into crashes.

It will give you a=A0back-trace. =A0If you really want to go deepe= r into debugging on Windows
you need to install their DDK/SDK and the sy= stem symbols. =A0Usually DrM is enough by itself to show you that you forgo= t to initialize a pointer etc.

You should end up with something like this, the ones with '*' a= re optional

J:\Apps
=A0 =A0 =A0MinGW95
=A0 =A0 =A0MS *<= br>=A0 =A0 =A0MSys
=A0 =A0 =A0NirSoft *
=A0 =A0 =A0SI *
=A0 =A0 =A0Win32

Edit J:\Apps\MinGW95\set_distro_paths.bat :

Change

set = PATH=3D%~dp0bin;%PATH%

to

set PATH=3D%~dp0bin;J:\Apps\MSys\bin;J:\Apps\Win32\J:\= Apps\SI;J:\Apps\MS;%PATH% ,

Instal= l the parts of gEDA/PCB as needed and you should be good to go.

Do make sure that there a no non-existent=A0directorie= s in the resulting path.
Some versions of GCC become=A0extr= emely=A0slow if there are such=A0directories=A0in the path on Windows.
Such directories are all to common on Windows before you've installed a= ny of the items from this message.

The= program 'which' will tell you what version you are running as ther= e will be multiple versions of the same tool in this setup.




--047d7b6757e002666504d353ba34--