------- Comment #2 from pinskia at gcc dot gnu dot org  2010-06-10 01:06 -------
On x86_64-linux-gnu it does the correct thing:
Executing on host: /home/pinskia/src/local/gcc/objdir/gcc/xgcc
-B/home/pinskia/src/local/gcc/objdir/gcc/
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/trivial.m  -fgnu-runtime
-I/home/pinskia/src/local/gcc/gcc/testsuite/../../libobjc 
-B/home/pinskia/src/local/gcc/objdir/x86_64-unknown-linux-gnu/./libobjc/.libs  
-L/home/pinskia/src/local/gcc/objdir/x86_64-unknown-linux-gnu/./libobjc/.libs 
-S  -o trivial.s    (timeout = 300)
set_ld_library_path_env_vars:
ld_library_path=.::/home/pinskia/src/local/gcc/objdir/gcc:/home/pinskia/src/local/gcc/objdir/x86_64-unknown-linux-gnu/./libobjc/.libs
Executing on host: /home/pinskia/src/local/gcc/objdir/gcc/xgcc
-B/home/pinskia/src/local/gcc/objdir/gcc/
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/trivial.m 
-fnext-runtime 
-B/home/pinskia/src/local/gcc/objdir/x86_64-unknown-linux-gnu/./libobjc/.libs  
-L/home/pinskia/src/local/gcc/objdir/x86_64-unknown-linux-gnu/./libobjc/.libs 
-S  -o trivial.s    (timeout = 300)
In file included from
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/trivial.m:1:0:^M
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:39:30:
fatal error: objc/objc-runtime.h: No such file or directory^M
compilation terminated.^M
compiler exited with status 1
output is:
In file included from
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/trivial.m:1:0:^M
/home/pinskia/src/local/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:39:30:
fatal error: objc/objc-runtime.h: No such file or directory^M
compilation terminated.^M

Using the following runtimes: -fgnu-runtime


This is without --enable-build-with-cxx .


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44488

Reply via email to