English 中文(简体)
十字编织物的汇编没有发现的假象。
原标题:Cross mingw compilation fails with unknown pseudo-op

我试图在一个红帽子组(x86_64 东道方)上架设十字路口。 我没有根基和现有的ming木不做工(坏的平衡等)。 Im 穿过这个理论:

http://sourceforge.net/apps/trac/mingw-w64/wiki/Cross%20Win32%20and%20Win64%20compiler

I m 编辑来自以下源球:

binutils-2.20.1.tar.bz2
gcc-4.7.0.tar.bz2
gmp-5.0.4.tar.bz2
mingw-w64-v2.0.2.tar.gz
mpc-0.9.tar.gz
mpfr-2.4.2.tar.bz2

不幸的是,一些问题已经得到解决。 在编篡过程中,我坐下来,从辅导员处走了一步,即“打造”(Mingw-w64本身)。 I m使用ys,有适当的药房。 在一段时期之后,以下列错误退出,有些则做了一些改动:

x86_64-w64-mingw32-ranlib lib64/libws2_32.a
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/home/zaluski/work/mingw-builds/mingw-w64-v2.0.2/mingw-w64-crt  -D_CRTBLD -I/var/fpwork/mingw/x86_64-w64-mingw32/include   -pipe -std=gnu99 -Wall -Wextra -Wformat -Wstrict-aliasing -Wshadow -Wpacked -Winline -Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes -g -O2 -m64 -I/home/zaluski/work/mingw-builds/mingw-w64-v2.0.2/mingw-w64-crt/include -D_SYSCRT=1 -DCRTDLL=1 -c /home/zaluski/work/mingw-builds/mingw-w64-v2.0.2/mingw-w64-crt/crt/crtexe.c -o lib64/crt1.o -D__CRTDLL__ -U__MSVCRT__
{standard input}: Assembler messages:
{standard input}:713: Error: unknown pseudo-op: `.seh_handlerdata 
{standard input}:762: Error: unknown pseudo-op: `.seh_handlerdata 
make[3]: *** [lib64/crt1.o] Error 1

我发现,所有我都建议检查是否使用适当的编辑。 正如我说过的那样,我有良好的美元(PATH/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/ local/bin:/usr/bin:/usr/X11R6/bin:/opt/bin:/opt/UsageModel:/home/zaluski/bin:/var/fpwork/mingw/bin)和在记录中存在x86_64-w64-mingw32-gcc)。

最佳回答

奥基,我设法着手安装。 我发现,有SEH宏观定义,但似乎该词是正确的,因此有条件的法典失败。 速效解决了问题:

sed  s/#ifdef __SEH__/#ifdef __SEHWORKAROUND__/  -i mingw-builds/mingw-w64-v2.0.2/mingw-w64-crt/crt/crtexe.c

之后的解决办法 我成功地汇编了ming湖,并且进一步推进了下一步——“ GCC死海合会”。

问题回答

土著集会可能被用来取代相互交织。 如*x86_64-w64-mingw32-as* ,请上报。

我将尝试与 *x86_64-w64-mingw32-gcc一道管理失败的指挥。 - S* 旗帜,通过使用交汇的组装机,自行放弃组装,然后对类似差错进行比较。





相关问题
gcc -fPIC seems to muck with optimization flags

Following along from this question: how-do-i-check-if-gcc-is-performing-tail-recursion-optimization, I noticed that using gcc with -fPIC seems to destroy this optimization. I am creating a shared ...

Generate assembler code from C file in linux

I would like to know how to generate assembler code from a C program using Unix. I tried the gcc: gcc -c file.c I also used firstly cpp and then try as but I m getting errors. I m trying to build an ...

Getting rid of pre-compiled headers

OK, I have old Metrowerks code for Mac and Windows where the previous developer used pre-compiled headers for every project that this code base builds. How does one get rid of Pre-compiled headers, ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

How to compile for Mac OS X 10.5

I d like to compile my application for version 10.5 and forward. Ever since I upgraded to Snow Leopard and installed the latest XCode, gcc defaults to 10.6. I ve tried -isysroot /Developer/SDKs/...

热门标签