View Single Post
Old 02-26-2012, 09:36 AM   #19
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
Better ignore this post and read further.

Spoiler:
I have got MinGW, not Cygwin, but it is similar tools.
First extract AdbWinApi.dll to your fastboot folder.

1) If you have Total Commander
- run Total Commander
- go to your fastboot folder
- down on Total Commander is mysterious line (like TextBox).
- click to that line and type "cmd" here (without quotes) and press Enter
- command line, which path start in your fastboot folder should appear
- type into that command line: "make fastboot_win" (again without quotes)
- fastboot should compile
- it is possible, that this will not work and error or plenty or errors appear
- if this happens, go to part 2

2) Alternative
- go to folder with your cygwin and then to subfolder "bin"
- there should be something like "gcc.exe", if there is not exactly this file,
but something similar, like "gcc-1.2.0.exe", remember it
- now go to your fastboot folder
- download "cmd.bat" from this post and paste it to your fastboot folder
- doubleclick to "cmd.bat"
- command line should appear
- now is needed to build string for compile
- it will look like something like this:

Code:
X:\path\to\cygwin\bin\gcc.exe -o fastboot.exe fastboot.c engine.c protocol.c usb_windows.c util_windows.c AdbWinApi.dll
- replace "X:\path\to\cygwin\" with your real path to cygwin
- if your "gcc.exe" has another name, replace it too
- compilation should be without any warning
Attached Files
File Type: bat cmd.bat (7 Bytes, 284 views)

Last edited by hostar; 02-26-2012 at 03:38 PM.
hostar is offline   Reply With Quote