Compiling gcc-3.4.6 with gcc-4.4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm having trouble compiling gcc-3.4.6 with gcc-4.4.1.

It fails at:
---
% ./configure --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--enable-languages=c,c++
% make CC=x86_64-pc-linux-gnu-gcc-4.4.1
[...]
x86_64-pc-linux-gnu-gcc-4.4.1   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   
-DHAVE_CONFIG_H    -I. -I. -I. -I./. -I./../include   \
	-DTARGET_MACHINE=\"x86_64-pc-linux-gnu\" \
	-c ./collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:217,
                 from ./system.h:214,
                 from ./collect2.c:30:
In function 'open',
    inlined from 'collect_execute' at ./collect2.c:1537:
/usr/include/bits/fcntl2.h:51: erreur: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs 3
arguments
----

I'm running on gento x86_64 (emt64, precisely).
-- 
View this message in context: http://www.nabble.com/Compiling-gcc-3.4.6-with-gcc-4.4.1-tp25696933p25696933.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux