lifelongchaser / toolwhip

Automatically exported from code.google.com/p/toolwhip
0 stars 0 forks source link

can't compile the toolwhip version of gcc 4.2 #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Pull http://toolwhip.googlecode.com/svn/trunk revision 176
2. Follow the steps in gcc_42-5574.README

What is the expected output? What do you see instead?

EXPECTED: Everything builds

ACTUAL: When executing this part:

for i in gcc g++ ; do
  gcc -m32 -O2 -I../usr_include -I../gcc_42-5574/include -I../gcc_42-5574/gcc \
    -I../gcc_42-5574/gcc/config -D__LITTLE_ENDIAN__ \
    "-DPDN=\"-apple-darwin9-$i-4.2.1\"" ../gcc_42-5574/driverdriver.c \
    -Llibiberty -liberty -o $i-4.2
done

I get:

/tmp/cc1xyQGi.o: In function `get_arch_name':
driverdriver.c:(.text+0x123c): undefined reference to `NXGetArchInfoFromName'
driverdriver.c:(.text+0x1247): undefined reference to `NXGetAllArchInfos'
driverdriver.c:(.text+0x1278): undefined reference to `NXGetLocalArchInfo'
collect2: ld returned 1 exit status
/tmp/ccm47pff.o: In function `get_arch_name':
driverdriver.c:(.text+0x123c): undefined reference to `NXGetArchInfoFromName'
driverdriver.c:(.text+0x1247): undefined reference to `NXGetAllArchInfos'
driverdriver.c:(.text+0x1278): undefined reference to `NXGetLocalArchInfo'
collect2: ld returned 1 exit status

Original issue reported on code.google.com by bzbar...@gmail.com on 17 Dec 2009 at 12:09

GoogleCodeExporter commented 9 years ago
Ah, I missed that I need to apply gcc_42-5574.patch.  Maybe that should be 
added to
the README?

I'd retitle the issue, but don't seem to have the bits to do so.

Original comment by bzbar...@gmail.com on 17 Dec 2009 at 12:12