hyz_avr 发表于 2008-7-16 10:20:07

装有VC的朋友帮我上传一个程序 rebase.exe

在公司装的WINAVR不能用编译时提示:
> "C:\WinAVR\utils\bin\make.exe" all
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x480000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x480000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487

-------- begin --------
avr-gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x480000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
C:\WinAVR\utils\bin\make.exe: *** Error 1

> Process Exit Code: 2
> Time Taken: 00:01

好像这个程序可以解决,有装VC的朋友帮忙上传一下。谢谢了。。

应该是在: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin

zxq6 发表于 2008-7-16 10:39:54

点击此处下载 ourdev_349230.rar(文件大小:25K) (原文件名:REBASE.rar)

没有在你说的位置

hyz_avr 发表于 2008-7-16 10:48:33

谢谢。。不过好像还不行,,还要再试试。。

下面这些是网上找到的

我最后的解决方式:rebase -b 0x76000000 c:\winavr\utils\bin\msys-1.0.dll,然后问题就解决了,主要参考的网站:
http://www.avrfreaks.net/index.php?module=PNphpBB2&file=viewtopic&t=37848&highlight=
My name is hyungon.kim (Korea)
I got the same error message.
-Couldn't reserve space for cygwin's heap, Win32 error
487
I trying to several times to solve this problem.
I searching and searching Internet many times.
but I couldn't find a solution.

In 5~6 hours, finally I found it a solution.
solution--------------------------------------
first, You must have rebase.exe
If you search Internet, you find easily, and downloading.
second, rebase -b 0x76000000 /winavr/utils/bin/msys-1.0.dll
0x76000000(examlple) -> you can change this address value
properly, maybe Winavr is compiled well.

hyz_avr 发表于 2008-7-16 10:51:55

现在的提示是:
> "C:\WinAVR\utils\bin\make.exe" all
AllocationBase 0x0, BaseAddress 0x76590000, RegionSize 0x50000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
AllocationBase 0x0, BaseAddress 0x76590000, RegionSize 0x50000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487

-------- begin --------
avr-gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AllocationBase 0x0, BaseAddress 0x76590000, RegionSize 0x50000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
C:\WinAVR\utils\bin\make.exe: *** Error 1

> Process Exit Code: 2
> Time Taken: 00:02

hyz_avr 发表于 2008-7-16 10:54:55

我按上面红色这个地址一直改 ,每次改完之后编译上面的地址都会改变,改了4.5次终于可以了。最后是0x770b0000

rebase -b 0x770b0000 /winavr/utils/bin/msys-1.0.dll


现在已经可以正正常编译了。。谢谢 【1楼】 zxq6 小马哈

> "C:\WinAVR\utils\bin\make.exe" all

-------- begin --------
avr-gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Size after:
hyj.elf:
section         size      addr
.text            292         0
.data               16   8388704
.bss               0   8388720
.noinit            0   8388720
.eeprom            0   8454144
.stab            876         0
.stabstr         132         0
.debug_aranges      20         0
.debug_pubnames   59         0
.debug_info      392         0
.debug_abbrev      213         0
.debug_line      382         0
.debug_str         162         0
Total             2544



-------- end --------


> Process Exit Code: 0
> Time Taken: 00:06

qinshaoq 发表于 2008-8-9 22:08:48

具体怎么操作啊?我的也出现了同样的问题。
但是双击rebase.exe后,有个类似Dos的窗口一闪而过,就什么也没了
rebase -b 0x76000000 c:\winavr\utils\bin\msys-1.0.dll 是怎么弄的啊?
求各位高手指点。在此多谢了啊!

qinshaoq 发表于 2008-8-9 22:29:06

已经解决了,多谢!

jeep_jun 发表于 2012-5-30 10:51:36

现在论坛还不能下载,在线跪求REBASE.exe文件 邮箱785880283@qq.com
页: [1]
查看完整版本: 装有VC的朋友帮我上传一个程序 rebase.exe