Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Paul Wouters
Mon, 09 Dec 1996 00:00
Compile error compiling cross compiler on linux for the pdp11-unknown-bsd
Author: Paul Wouters
Date: Mon, 09 Dec 1996 00:00
Date: Mon, 09 Dec 1996 00:00
49 lines
2584 bytes
2584 bytes
Hi, While trying to build the cross compiler for the pdp11 for linux on an intel, i get the following compile error: baldrick: /vol/bigfoot/gcc-pdp11/gcc-2.7.2.1# make LANGUAGES=c cc -c -DCROSS_COMPILE -DIN_GCC -g -I. -I. -I./config ./config/pdp11/pdp11.c ./config/pdp11/pdp11.c: In function `output_function_epilogue': ./config/pdp11/pdp11.c:209: `frame_pointer_needed' undeclared (first use this function) ./config/pdp11/pdp11.c:209: (Each undeclared identifier is reported only once ./config/pdp11/pdp11.c:209: for each function it appears in.) make: *** [pdp11.o] Error 1 I spoke with Michael Gschwind, who's name was mentioned in the pdp11 code. Here is what he told me. > Paul Wouters wrote: > > I saw your name in the pdp include files in the gcc source tree. > > I am attempting to build a cross compiler for the pdp11 on a pentium > > running linux, and it fails compiling the pdp11.c file. I tried to > > fix it but prob only made things worse ;) > > The error was about frame_pointer_needed being undefined. I flipped > > a coin and changed it to 0 (It was just in an if statement ;) > > Hmm, I tried to compile 2.7.2.1 on a Sun cross to PDP, and it built > without a problem. In any case, frame_pointer_needed is a variable, > not a #define, so I figure that would definitely ruin things... > > I don't have a Linux box around so I could try, but please make sure > you have the most recent release... > > If the problems persist, please mail a bug report to the gcc bug > report address so that Linux people can have a look at it (you should > clearly state that the corss compile works for Suns...) > > mike > > PS: I can't understand why that var would be undefined, because: > [michael@kodiak.vlsivie.tuwien.ac.at:157] grep frame_pointer_needed > pdp11.c > extern int frame_pointer_needed; > if (frame_pointer_needed) > && frame_pointer_needed)) > if (frame_pointer_needed) > Paul Wouters
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads