binutils-2.21.53-2.tar 問題

禁奇怪,無以下的檔案嘅?

Link
http://ftp.eq.uc.pt/software/pc/prog/cygwin/release/binutils/

Error:
ar.exe ar.exe binutils-2.21.53-2.tar 符號連結指向遺失的檔案  

試過其它的link,一樣.....
Why?
THX

本帖最後由 dsscss 於 2014-10-11 02:44 編輯

CYGWIN同MINGW個方向唔同!

MINGW係努力移植D LINUX/UNIX既工具 去WINDOWS度...
CYGWIN係努力模移到LINUX/UNIX咁...

What...

...is it?
Cygwin is:

a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
a DLL (cygwin1.dll) which provides substantial POSIX API functionality.

...isn't it?
Cygwin is not:

a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

======================================

回返正題,
要用CYWGIN D工具要真係裝 0左 CYGWIN先..
佢有好多個DLL黎模擬UNIX/LINUX,
所以你DOWNLOAD完呢個都無用..
要裝 0左 CYGWIN先...

我諗你出既ERROR就係無左D DLL...

======================================
所以WINDOWS的話, 用MINGW 會比較好...
CYGWIN係比一D想係WINDOWS做 0野, 但係又行到好似UNIX/LINUX FEEL既人用...
因為你COMPILE出 0黎 既 0野, 對方都要有 0個 咋DLL先WORK...

TOP

  1. tar xvf binutils-2.21.53-2.tar
複製代碼

TOP

Thanks, I'll try mingw then

TOP

https://github.com/fd00/yacp/tree/master/gxemul

How can I compile this with mingw?
Thanks

TOP

回覆 5# luckiejacky

I download the whole project files..
http://gxemul.sourceforge.net/

Then, tried to build it  using MinGW (MSYS).
However, the compiler showed that it cannot found the following declaration:
strtoull
strlcat
strlcpy
ULLONG
int64_t...
PRIu16...PRIu32....Some things like this...

Then, search the internet...
Unfortunately, those functions are not implemented by MSYS... :(
In other words, If I want to PORT it to MSYS,
I need to implement above functions...

Then I switched to build the project by Cygwin, (components required: binutils, g++, make, X11 <- not a must, but only showed command prompt..)
it works.

TOP

相關文章