Hi
Did you configure and make the compiler under the top of trunk? It
will not work if you do so. The right process is

$ cd trunk
$ mkdir objs
$ cd objs
$ ../configure --profix=$INSTALLDIR
$ make -j 4

On Wed, Oct 20, 2010 at 4:13 PM, Gang Yu <yugang...@gmail.com> wrote:
> Hi,
>
>    Does anyone have meet the problem of compiling current svn
> version(r3378)? I always get in trouble in the compiling:
>
> 1.  the makefile caused link err when building gcc
> gcc: ../../osprey/targdir/libspin_4_2_0/libgspin42.a: No such file or
> directory
> make[4]: *** [cc1-dummy] Error 1
> make[4]: Leaving directory
> `/home/yugang/open64-trunk/build/osprey-gcc-4.2.0/host-x86_64-redhat-linux/gcc'
> make[3]: *** [all-gcc] Error 2
> make[3]: Leaving directory
> `/home/yugang/open64-trunk/build/osprey-gcc-4.2.0'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/yugang/open64-trunk/build/osprey-gcc-4.2.0'
> make[1]: *** [osprey-gcc-4.2.0/gcc/cc1] Error 2
> make[1]: Leaving directory `/home/yugang/open64-trunk/build'
>
> If I patch the osprey-gcc-4.2.0/host-x86_64-redhat-linux/gcc/Makefile with
> line 851
> -LIBGSPIN = ../../osprey/targdir/libspin_4_2_0/libgspin42.a
> +LIBGSPIN = ../../../osprey/targdir/libspin_4_2_0/libgspin42.a
> will make it work.
>
> 2. building the lib with opencc(SELF):
> make  libopen64rt.a
> C
> /home/administrator/open64-trunk/trunk/osprey/targdir_lib/libopen64rt/../../../osprey/libopen64rt/malloc_opt.c
> opencc ERROR: cannot exec
> /home/administrator/open64-trunk/trunk/osprey/.././osprey-gcc-4.2.0/gcc/xgcc:
> No such file or directory
> opencc ERROR: cannot exec
> /home/administrator/open64-trunk/trunk/osprey/.././osprey-gcc-4.2.0/gcc/xgcc:
> No such file or directory
> make[3]: *** [malloc_opt.o] Error 1
> make[2]: *** [default] Error 2
> make[1]: *** [libopen64rt] Error 2
> make[1]: Leaving directory
> `/home/administrator/open64-trunk/trunk/osprey/targdir_lib'
> make: *** [lib] Error 2
>
>
>
> environments and configurations will fall into these issues:
> (1). a linux destop with intel core2(2) 6600 , gcc 4.1.1, kernel 2.6.18
>          configured with debug , non debug
>       compiling source under a mirrored dir
> (2). a ubuntu10 laptop with intel core2 T7250, gcc 4.4.3, kernel 2.6.32
>          configured with debug, non debug
>       compiling under a mirror dir or directly in targdir
> (3). TOOLROOT cleaned
>
> Please help.
>
> Thanks
>
> Gang
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
>



-- 
yongchong

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to