This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build of 4.1.0 in cross env



Andrew Haley a écrit :

> FERANDELLE Pascal writes:
>  > I am trying to build GCC 4.1.0 for a powerpc-linux target, on PC/Linux, and I have problems in the build of java parts.
>  > During the build, there are calls to powerpc-linux-gcj, powerpc-linux-gcjh commands, which do not exist, as we are just building it ...
>
> We don't know what you're doing.
>
> You have to tell us *exactly* how you configured and built.  Maybe
> then we'll be able to figure out what is cauing the problem.
>
>

- extraction of gcc-core-4.1.0.tar, gcc-g++-4.1.0.tar and gcc-java-4.1.0.tar

- ./configure --with-sysroot=/VMPC/BlueCat --enable-langages=c,java --target=powerpc-linux
(my Linux PowerPC environment is under /VMPC/BlueCat)

- modification ot the LDFLAGS_FOR_TARGET variable in the Makefile, to put :
    LDFLAGS_FOR_TARGET = -L/VMPC/BlueCat -L/VMPC/BlueCat/lib -L/VMPC/BlueCat/usr/lib
                                              -Wl,-rpath-link -Wl,/VMPC/BlueCat
                                              -Wl,-rpath-link -Wl,/VMPC/BlueCat/lib
                                              -Wl,-rpath-link -Wl,/VMPC/BlueCat/usr/lib

 (without this, lots of libraries are not found during link phases of the build, and I also have to copy two libraries of my Linux PPC environment to /usr/local/powerpc-linux/lib directory)

- make

and that's all.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]