1/1
Make fails gcc-3.2.3 for or32-uclinux.
by Unknown on Jan 5, 2004 |
Not available! | ||
I was able to configure and 'almost' make the GCC
crosscompiler on an x86/linux box.
Error log:
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... (cached)
/foo/gnu/bin/install -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached)
/lib/cpp
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible...
no
checking whether time.h and sys/time.h may both be
included... no
checking whether errno must be declared... yes
checking for ANSI C header files... no
checking for uintptr_t... no
checking whether the C compiler
(/foo/or1k/GCC323Build/gcc/xgcc
-B/foo/or1k/GCC323Build/gcc/
-B/foo/or1k/GCC323/or32-uclinux/bin/
-B/foo/NP/or1k/GCC323/or32-uclinux/lib/ -isystem
/foo/or1k/GCC323/or32-uclinux/include -O2 -g -O2 )
works... no
configure: error: installation or configuration
problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1
cat /proc/version:
Linux version 2.4.18-5smp
(bhcompile@daffy.perf.redhat.com) (gcc version 2.96
20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Mon Jun
10 15:19:40 EDT 2002
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
|
Make fails gcc-3.2.3 for or32-uclinux.
by Unknown on Jan 5, 2004 |
Not available! | ||
No..I don't think it's that.
If I give the exact same command:
foo/or1k/GCC323Build/gcc/xgcc
-B/foo/or1k/GCC323Build/gcc/
-B/foo/or1k/GCC323/or32-uclinux/bin/
-B/foo/NP/or1k/GCC323/or32-uclinux/lib/ -isystem
/foo/or1k/GCC323/or32-uclinux/include -O2 -g -O2
at command prompt it gives me:
xgcc: no input file.
Matjaz, could you post what your configure command
was,
just to be sure..anything else that you did like
setting paths etc.
Thanks!
--- Matjaz Breskvar phoenix@opencores.org> wrote:
i think you didn't se the PATH right...
export PATH=/bin:$PATH
i've just build gcc-3.2.3 on linux & cygwin so it
should build without a
problem.
regards,
p.
* kernel_learner (kernel_learner@yahoo.com) wrote:
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
> I was able to configure and 'almost' make the GCC
> crosscompiler on an x86/linux box. > > Error log: > checking for POSIXized ISC... no > checking for working const... yes > checking for inline... inline > checking for a BSD compatible install... (cached) > /foo/gnu/bin/install -c > xhost-mkfrag is unchanged > checking how to run the C preprocessor... (cached) > /lib/cpp > checking for sys/file.h... yes > checking for sys/param.h... yes > checking for limits.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... yes > checking for strings.h... yes > checking for sys/time.h... yes > checking for time.h... yes > checking for sys/resource.h... yes > checking for sys/stat.h... yes > checking for sys/mman.h... yes > checking for fcntl.h... yes > checking for alloca.h... yes > checking for sys/wait.h that is POSIX.1 compatible...
> no
> checking whether time.h and sys/time.h may both be
> included... no
> checking whether errno must be declared... yes
> checking for ANSI C header files... no
> checking for uintptr_t... no
> checking whether the C compiler
> (/foo/or1k/GCC323Build/gcc/xgcc
> -B/foo/or1k/GCC323Build/gcc/
> -B/foo/or1k/GCC323/or32-uclinux/bin/
> -B/foo/NP/or1k/GCC323/or32-uclinux/lib/ -isystem
> /foo/or1k/GCC323/or32-uclinux/include -O2 -g -O2 )
> works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
> make: *** [configure-target-libiberty] Error 1
>
> cat /proc/version:
> Linux version 2.4.18-5smp
> (bhcompile@daffy.perf.redhat.com) (gcc version
2.96
> 20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Mon
Jun
> 10 15:19:40 EDT 2002
>
>
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> http://search.yahoo.com/top2003
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/openrisc
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
Make fails gcc-3.2.3 for or32-uclinux.
by Unknown on Jan 5, 2004 |
Not available! | ||
i think you didn't se the PATH right...
export PATH=/bin:$PATH
i've just build gcc-3.2.3 on linux & cygwin so it should build without a
problem.
regards,
p.
* kernel_learner (kernel_learner@yahoo.com) wrote:
I was able to configure and 'almost' make the GCC
crosscompiler on an x86/linux box.
Error log:
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... (cached)
/foo/gnu/bin/install -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached)
/lib/cpp
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible...
no
checking whether time.h and sys/time.h may both be
included... no
checking whether errno must be declared... yes
checking for ANSI C header files... no
checking for uintptr_t... no
checking whether the C compiler
(/foo/or1k/GCC323Build/gcc/xgcc
-B/foo/or1k/GCC323Build/gcc/
-B/foo/or1k/GCC323/or32-uclinux/bin/
-B/foo/NP/or1k/GCC323/or32-uclinux/lib/ -isystem
/foo/or1k/GCC323/or32-uclinux/include -O2 -g -O2 )
works... no
configure: error: installation or configuration
problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1
cat /proc/version:
Linux version 2.4.18-5smp
(bhcompile@daffy.perf.redhat.com) (gcc version 2.96
20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Mon Jun
10 15:19:40 EDT 2002
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
Make fails gcc-3.2.3 for or32-uclinux.
by Unknown on Jan 5, 2004 |
Not available! | ||
* kernel_learner (kernel_learner@yahoo.com) wrote:
No..I don't think it's that.
i could send you the script i used, but it's quite complicated and would
just confuse you.
it's probably best to just take a look at:
http://www.opencores.org/cores/or1k/ats/or32-uclinux/or1k_ats_uclinux.txt
or even run it to build or32 toolchain. (i used exacly the same steps,
just replace gcc-3.1 with gcc-3.2.3)
have fun ;),
m.
If I give the exact same command: foo/or1k/GCC323Build/gcc/xgcc -B/foo/or1k/GCC323Build/gcc/ -B/foo/or1k/GCC323/or32-uclinux/bin/ -B/foo/NP/or1k/GCC323/or32-uclinux/lib/ -isystem /foo/or1k/GCC323/or32-uclinux/include -O2 -g -O2 at command prompt it gives me: xgcc: no input file. Matjaz, could you post what your configure command was, just to be sure..anything else that you did like setting paths etc. |
1/1