tech-embed archive

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

Re: Cross env. M8xxppc, the momentum is starting



Hi.

I tried to se if i could get the /usr/pkgscr/cross going.
But no.
So i tried to compile the /home/roger/usr/scr/lib with
a version of our script like
XGNU_ARCH=powerpc-elf
    export MACHINE_ARCH=powerpc
    export MACHINE=powerpc


    # set up cross translators

    XPREFIX="/home/roger/m8xx/bin/${XGNU_ARCH}-"

etc.
and useing the tools i bulid my self.

but something in my config is dead wrong. 
Because i get this.
streamserver.billing$ powermake
all ===> lib
all ===> lib/csu
all ===> lib/csu/powerpc
/home/roger/m8xx/bin/powerpc-elf-gcc -O -fPIC -Werror   -DLIBC_SCCS
-DPIC -DDYNA
MIC -DELFSIZE=32
-I/usr/home/roger/usr/src/lib/csu/powerpc/../../../libexec/ld.e
lf_so -I/usr/home/roger/usr/src/lib/csu/powerpc/../common_elf -nostdinc
-idiraft
er /home/roger/usr/dst.powerpc/usr/include -c -DCRT0 crt0.c -o crt0.o
In file included from
/usr/home/roger/usr/src/lib/csu/powerpc/../common_elf/comm
on.h:41,
                 from crt0.c:36:
/usr/home/roger/usr/src/lib/csu/powerpc/../../../libexec/ld.elf_so/rtld.
h:166: f
ield `linkmap' has incomplete type
*** Error code 1 

I have inputed the include files in 
/home/roger/usr/dst.powerpc/usr/include

So, did you do any special to get the pkgsrc/cross work?

/Roger strandberg



Home | Main Index | Thread Index | Old Index