Thread View: gnu.g++.help
3 messages
3 total messages
Started by Kimmy Posey P920
Mon, 23 Nov 1992 17:24
MS-DOS port
Author: Kimmy Posey P920
Date: Mon, 23 Nov 1992 17:24
Date: Mon, 23 Nov 1992 17:24
5 lines
593 bytes
593 bytes
Anybody know if there is an MS-DOS port that will run on a '286. The only one I've seen requires a '386. What would be required to do such a port? Send me email. KimmyD
Help compile libg++2.2 (almost have it)
Author: John O'neill
Date: Mon, 23 Nov 1992 18:05
Date: Mon, 23 Nov 1992 18:05
44 lines
2213 bytes
2213 bytes
I am having Problems installing libg++-2.2.
I got everything to compile except 2 files from the iostream library.
I made libg++ without these two files but when I ran g++ I got the
following error message:
ld:
Undefined:
vscan__9streambufPCcPcPUc
vform__9streambufPCcPc
Seems like I need to compile sbufvscan.C and sbufvform.C.
Can someone tell me how to compile these two routines. I'm using
gcc version 2.1 on a decstation 5000/240 running Ultrix v4.2a.
( can version libg++-2.2 be used with gcc v2.1? ).
I include the output of running make and the error messages.
Thanks Alot,
John O'Neill
PS Quick question, how can you tell what version of libg++ you are using?
========================================================================
%make -f Makefile
`if [ -f ${rootprefix}../../gcc/gcc ] ; then echo ${rootprefix}../../gcc/gcc -B
${rootprefix}../../gcc/ ; else echo gcc ; fi` -g -I. -I.. -I. -I./../src -I./.
./g++-include -c `if [ -f ${rootprefix}../../gcc/gcc ] ; then echo -I${rootpref
ix}../../gcc/include ; else echo ; fi` sbufvform.C
sbufvform.C: In method `int streambuf::vform (const char *, char *)':
sbufvform.C:248: warning: implicit declaration of function `__builtin_alignof'
sbufvform.C:248: parse error before `4'
sbufvform.C:248: parse error before `4'
sbufvform.C:248: parse error before `['
sbufvform.C:260: parse error before `4'
sbufvform.C:260: parse error before `4'
sbufvform.C:260: parse error before `)'
.
. similar errors
.
sbufvform.C:427: parse error before `4'
sbufvform.C:427: parse error before `)'
*** Error code 1
Stop.
Similiar problem with sbufvscan.C (comment out sbufvform.C)
Re: Help compile libg++2.2 (almost have it)
Author: Richard Tom
Date: Mon, 23 Nov 1992 21:45
Date: Mon, 23 Nov 1992 21:45
39 lines
1962 bytes
1962 bytes
John,
The documentation for libg++ states that you must have the same
version or greater of g++ to build libg++. I was using g++ 2.2.2 and building
libg++ 2.2 and still had the problem you had:
>`if [ -f ${rootprefix}../../gcc/gcc ] ; then echo ${rootprefix}../../gcc/gcc -B
>${rootprefix}../../gcc/ ; else echo gcc ; fi` -g -I. -I.. -I. -I./../src -I./.
>./g++-include -c `if [ -f ${rootprefix}../../gcc/gcc ] ; then echo -I${rootpref
>ix}../../gcc/include ; else echo ; fi` sbufvform.C
>sbufvform.C: In method `int streambuf::vform (const char *, char *)':
>sbufvform.C:248: warning: implicit declaration of function `__builtin_alignof'
>sbufvform.C:248: parse error before `4'
sbufvform.C:248: parse error before `4'
>sbufvform.C:248: parse error before `['
>sbufvform.C:260: parse error before `4'
>sbufvform.C:260: parse error before `4'
>sbufvform.C:260: parse error before `)'
>.
>. similar errors
>.
>sbufvform.C:427: parse error before `4'
>sbufvform.C:427: parse error before `)'
>*** Error code 1
>Stop.
The quick and dirty hack I did was to add the following line after the last
#include statement in the files sbufvform.C and sbufvscan.C:
#define __builtin_alignof __alignof__
I'd say it's a dirty hack, but I did get libg++ 2.2 to build under
Ultrix 4.3 on a DECstation 3100 with g++ (gcc) 2.2.2.
Hope I've helped,
Rich
rtom@cen.com
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