cross-compile error (sparc_sun_solaris --> alpha-dec-osf)

Youngsoo Choi youngsc@cs.umn.edu
Thu Feb 3 16:52:00 GMT 2000


On Thu, 3 Feb 2000, Richard Henderson wrote:

> > I used './configure --target=alphaev6-dec-osf1 -prefix=somewhere \
> > --with-gnu-ld --with-gnu-as'
> 
> You didn't want `osf1' but rather the actual DU version that you're
> interested in, eg `osf4.0d'. 

OK, I stepped over the problem. However, I had a 'libgcc1.a' problem.
At first stage, I used a blank 'libgcc1.a' by touching the file.
When it's compiled as the name of 'libgcc1.cross', I compiled libgcc1.c using
xgcc.
But, when it compiles 'libgcc1-test.c', I've got these messages :
libgcc1-test.o: In function `main_without__main':
/export/scratch/youngsc/gcc-alpha/gcc-2.95.2/gcc/./libgcc1-test.c:20: undefined
reference to `__divl'
/export/scratch/youngsc/gcc-alpha/gcc-2.95.2/gcc/./libgcc1-test.c:21: undefined
reference to `__reml'
/export/scratch/youngsc/gcc-alpha/gcc-2.95.2/gcc/./libgcc1-test.c:23: undefined
reference to `__divlu'
/export/scratch/youngsc/gcc-alpha/gcc-2.95.2/gcc/./libgcc1-test.c:24: undefined
reference to `__remlu'

These functions looks needed in libgcc1.a.
How can I provide these?


---
-----------------------------------------------------------------------
Youngsoo Choi     (Room EECS/6-106)      E-mail : youngsc@cs.umn.edu
Dept. of Computer Science & Engineering  Tel.   : (612) 624-8545
University of Minnesota, Minneapolis     http://www.cs.umn.edu/~youngsc



More information about the Gcc mailing list