Date: Fri, 29 Aug 2003 02:48:15 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 186 ************************************************** Thursday 28 August 2003 Number 186 ************************************************** Subjects for today 1 Re: [UnixOS2] Re: g++ v3.2.1 and env : Jeff Robinson 2 Re: perlB12E.dll : Paul Smedley" 3 Re: Source extraction : T.Sikora" 4 Re: [UnixOS2] Re: g++ v3.2.1 and env : T.Sikora" 5 Re: [UnixOS2] Re: g++ v3.2.1 and env : T.Sikora" 6 Re: [UnixOS2] Re: g++ v3.2.1 and env : James Moe" 7 Re: g++ v3.2.1 and env : James Moe" 8 Re: g++ v3.2.1 and env : James Moe" 9 Re: [UnixOS2] Re: g++ v3.2.1 and env : Henry Sobotka 10 Re: autoconf v2.57 build : James Moe" 11 Re: autoconf v2.57 build : Stefan.Neis at t-online.de 12 some last minute additions : T.Sikora" 13 Re: [UnixOS2] Re: g++ v3.2.1 and env : T.Sikora" 14 Re: g++ v3.2.1 and env : James Moe" 15 GCC builds : T.Sikora" 16 Re: GCC builds : T.Sikora" 17 Re: Re: GCC builds : T.Sikora" 18 Re: autoconf v2.57 build : James Moe" 19 Re: g++ v3.2.1 and env : James Moe" 20 Re: Re: GCC builds : T.Sikora" 21 Re: Re: GCC builds : T.Sikora" 22 Re: [UnixOS2] Re: g++ v3.2.1 and env : Stefan.Neis at t-online.de 23 Re: g++ v3.2.1 and env : T.Sikora" 24 HEADS UP It's done! : T.Sikora" 25 Re: dumps of g++ verbose and search dirs : James Moe" 26 g++ --print-search-dirs : Jeff Robinson 27 g++ results : T.Sikora" 28 Re: autoconf v2.57 build : John Poltorak 29 Re: Re: dumps of g++ verbose and search dirs : Henry Sobotka 30 Re: Re: dumps of g++ verbose and search dirs : T.Sikora" 31 xfree86 : T.Sikora" 32 Re: Re: dumps of g++ verbose and search dirs : James Moe" 33 Re: Re: dumps of g++ verbose and search dirs : James Moe" **= Email 1 ==========================** Date: Fri, 29 Aug 2003 06:49:27 -0500 From: Jeff Robinson Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, 28 Aug 2003 21:20:47 -0800, Dave and Natalie wrote: > > >>Missed this thread. Just a guess, make sure your using g++ to compile c++. >>GCC has problems finding C++ libs >>Try SET CXX=g++ before running configure >> > > Nope. That did not work either. > I have tried using -Ldir to explicitly add the g++ library path. Maybe I should try > more variations. > > Has *anyone* ever gotten a g++ v3.2.1 program to build? > I was messing with gcc 3.2.1 after hearing about your problems and tried it myself... I can only seem to compile C code and not C++ code (even explicitly using g++), so something is wrong here. I'm not entirely certain if I've ever compiled C++ with 3.2.1, though with the previous version of gcc 3.x I had compiled Mozilla a couple times, and I know that was C++. Though at that time I might've installed the newer gcc directly over the older one... I dunno if that has something to do with it. Jeff -- ---------------- Whatza JamochaMUD? http://jamochamud.anecho.mb.ca Or other stuff: http://www.anecho.mb.ca/~jeffnik ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 29 Aug 2003 07:15:06 +0950 (CST) From: "Paul Smedley" Subject: Re: perlB12E.dll Hi Ted, On Wed, 27 Aug 2003 07:41:00 -0400, T.Sikora wrote: >Paul Smedley wrote: >> Ted, >> Still having problems with perl here. For some reason, miniperl.exe gets build, but when >> the build process tries to use it, I get SYS3175s as perlB12e.dll hasn't been built yet. >> >> Adding my Perl 5.8.0 lib dir to the libpath of the ux2bs shell gets it built (and also builds a >> new perlB12E.dll) but that kind of defeats the purpose :) >> >This is getting strange. Can you upload your ux2_env and ux2_config and >the line you appended. perl.log would be good too. Well I don't know what's changed, but last night I started again, this time adding a new drive just for Ux2bs (to make it easier to clean up :) ), and also used the ux2bs_inst.cmd you posted a couple of days ago. This time, Perl build fine straight off... Weird.. Cheers, Paul. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 29 Aug 2003 09:47:27 -0400 From: "T.Sikora" Subject: Re: Source extraction James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > Another suggested change: > Add the -h (--dereference) switch to tar when extracting a source tree. Some of the > archives use symbolic links that expand to an empty file if -h is not present. > > > - -- > I'll add it to build.sh -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Fri, 29 Aug 2003 09:48:50 -0400 From: "T.Sikora" Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env Dave and Natalie wrote: > On Thu, 28 Aug 2003 13:12:09 -0400, T.Sikora wrote: > > >>James Moe wrote: >> >>>-----BEGIN PGP SIGNED MESSAGE----- >>>Hash: SHA1 >>> >>>On Wed, 27 Aug 2003 21:57:30 -0400, T.Sikora wrote: >>> >>> >>> >>>>So it's a GCC problem? >>>> >>> >>> I don't know. >>> >>> >>> >>>>The env is set alright then? >>>> >>> >>> I don't know. I suspect so since the errors indicate a library problem rather than a >>>include problem. >>> Maybe there is a switch that would alter who the g++ mangles names? >>> >> >>Maybe this should be in CPLUS_INCLUDE_PATH >> >>/emx/include/c++/3.2.1 or will /emx/include find it? > > > Missed this thread. Just a guess, make sure your using g++ to compile c++. GCC has problems finding C++ libs > Try SET CXX=g++ before running configure > Dave > Dave > > It's set in the gcc shell. Run env you'll see it at the bottom. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Fri, 29 Aug 2003 09:56:26 -0400 From: "T.Sikora" Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env T.Sikora wrote: > Dave and Natalie wrote: > >> On Thu, 28 Aug 2003 13:12:09 -0400, T.Sikora wrote: >> >> >>> James Moe wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> On Wed, 27 Aug 2003 21:57:30 -0400, T.Sikora wrote: >>>> >>>> >>>> >>>>> So it's a GCC problem? >>>> >>>> >>>> I don't know. >>>> >>>> >>>> >>>>> The env is set alright then? >>>>> >>>> >>>> I don't know. I suspect so since the errors indicate a library >>>> problem rather than a include problem. >>>> Maybe there is a switch that would alter who the g++ mangles names? >>>> >>> >>> Maybe this should be in CPLUS_INCLUDE_PATH >>> >>> /emx/include/c++/3.2.1 or will /emx/include find it? >> >> >> >> Missed this thread. Just a guess, make sure your using g++ to compile >> c++. GCC has problems finding C++ libs >> Try SET CXX=g++ before running configure >> Dave >> Dave >> >> > It's set in the gcc shell. Run env you'll see it at the bottom. > GCC is installed with the srt fix, the omflibs are made and the env is correct so everything is installed as recommended. It must be the build itself. Mozilla and everyone else is using 3.2.2 so that could be the reason. Did anyone actually complete builds of Mozilla or any other g++ programs with 3.2.1? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Fri, 29 Aug 2003 10:44:31 -0700 (MST) From: "James Moe" Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 14:23:51 +0200 (CEST), Stefan.Neis at t-online.de wrote: >Maybe trying to run >gcc -o foo.exe foo.cpp -lstdcxx > No, that did not work either. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T5D/sxxMki0foKoRAmxxAKC0cyNvMq0qyjm503I/FO2EJySDyACfZfKS 7j9dQvxmTi2KYb8gAzTNqYc= =tbIM -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Fri, 29 Aug 2003 10:49:29 -0700 (MST) From: "James Moe" Subject: Re: g++ v3.2.1 and env -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 06:49:27 -0500, Jeff Robinson wrote: >> >> Has *anyone* ever gotten a g++ v3.2.1 program to build? >> >I was messing with gcc 3.2.1 after hearing about your problems and tried >it myself... I can only seem to compile C code and not C++ code (even >explicitly using g++), so something is wrong here. > I contacted the port maintainer, Andrew Zabolotny (zap at cobra.ru). Here is his response: "No, now I see you did everything correctly, however I don't understand why the problem happens. I'm not using myself libstdc++ so maybe I've put together a wrong library in distribution :-( "Now I'm working for Innotek to make a new gcc with many improvements, so I don't have time to look back what's wrong with that old version. I'd say you to stick with the older 3.0.3 release until we'll release a totally-new gcc with a improved libc (derived from emx)." So I guess we have to wait on Innotek to build C++ programs with gcc3.2.x. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T5IosxxMki0foKoRAvIEAJ4vcGqQw4kXbXvBPuilyd/8KlZ1lACfUloa RjPhyig4EGhXtHr7WNOpUQI= =xLFA -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Fri, 29 Aug 2003 10:54:44 -0700 (MST) From: "James Moe" Subject: Re: g++ v3.2.1 and env -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 11:21:55 +0200 (CEST), Stefan.Neis at t-online.de wrote: >If you could give the complete >output of "g++ -v", that might >be helpful ... > gcc321 uses the st (single thread) library by default. I tried -Zmt to see if there is any difference in the multithreaded one: no. ux2> g++ --verbose test.cpp Reading specs from G:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/specs Configured with: --enable-clh --enable-threads --enable-shared --enable-nls - --without-included-gettext --prefix=/gcc Thread model: os2 gcc version 3.2.1 G:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/cc1plus.exe -v -iprefix g:\emx\bin.new/../lib/gcc-lib/i386-pc-os2-emx/3.2.1/ -D__GNUC__=3 -D__GNUC_MINOR__=2 - -D__GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__32BIT__ -D__EMX__ -D__OS2__ - -D__i386__ -D__i386 -Dunix -D__32BIT__ -D__EMX__ -D__OS2__ -D__i386__ -D__i386 - -D__unix__ -D__unix -Asystem=unix -Asystem=posix -Asystem=emx -D__NO_INLINE__ - -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ - -D__tune_i386__ -D__cdecl=__attribute__((__cdecl__)) - -D__stdcall=__attribute__((__stdcall__)) -D__optlink=__attribute__((__optlink__)) - -D_cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) - -D_optlink=__attribute__((__optlink__)) test.cpp -D__GNUG__=3 -D__DEPRECATED - -D__EXCEPTIONS -quiet -dumpbase test.cpp -version -o - | as --traditional-format -o g:\tmp/cciroB3B.o GNU CPP version 3.2.1 (cpplib) (80386, BSD syntax) GNU C++ version 3.2.1 (i386-pc-os2-emx) compiled by GNU C version 3.2.1. #include "..." search starts here: #include <...> search starts here: g:/usr/include g:/emx/include/cpp g:/emx/include g:/emx/include/c++/3.2.1 g:/emx/include/c++/3.2.1/i386-pc-os2-emx g:/emx/include/c++/3.2.1/backward g:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include G:/EMX/include/c++/3.2.1 G:/EMX/include/c++/3.2.1/i386-pc-os2-emx G:/EMX/include/c++/3.2.1/backward G:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include G:/EMX/include End of search list. ld -o test.exe G:/emx/lib/crt0.o -LG:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st - -LG:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1 -LG:/emx/lib/gcc-lib -LG:/lib -LG:/usr/lib - -LG:/emx/lib/st -LG:/emx/lib -LG:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st - -LG:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1 -LG:/EMX/lib/st -LG:/EMX/lib -LG:/lib - -LG:/usr/lib g:\tmp/cciroB3B.o -lstdcxx -lm -lc_alias -lgcc_eh -lgcc -lc -lc_app - -lgcc_eh -lgcc -lc -lemx -los2 -lemx2 g:\tmp/cciroB3B.o: Undefined symbol __Z4endlR7ostream referenced from text segment g:\tmp/cciroB3B.o: Undefined symbol _cout referenced from text segment g:\tmp/cciroB3B.o: Undefined symbol __ZN7ostreamlsEPKc referenced from text segment - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T5NksxxMki0foKoRAonqAJ9xqivdWPxQA9uyxsArJDESr25PvACeMlxD 4c2cyxBi2+Mp0qDvz70/QcU= =KSnW -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Fri, 29 Aug 2003 11:30:42 -0400 From: Henry Sobotka Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env T.Sikora wrote: > > Did anyone actually complete builds of Mozilla or any other g++ > programs with 3.2.1? Yes, back when 3.2.1 was released. But Mozilla doesn't rely on the standard library and only needs -lstdcxx in a couple spots. h~ _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Fri, 29 Aug 2003 11:55:58 -0700 (MST) From: "James Moe" Subject: Re: autoconf v2.57 build -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 12:03:56 +0200 (CEST), Stefan.Neis at t-online.de wrote: >The autoconf-2.57 package on hobbes comes with a nice README.OS2 > I could not find it on Hobbes. There is 2.13, 2.50, 2.53 and 2.53b. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T6G+sxxMki0foKoRAjmwAJ9IlEYW8Mo+J9o+q39i5j9KXfot2QCgiRl+ obPOTcClTTo2EheLc4gXMts= =3w7N -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Fri, 29 Aug 2003 12:03:56 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: autoconf v2.57 build Hi, > Is there a trick to building autoconf v2.57? > autoconf-2.57 > ..Using autoconf (GNU Autoconf) 2.50 (release 3 for > OS/2) > ./aclocal.m4:46: error: Autoconf version 2.54 or higher > is required for this script Maybe try without running autoconf first? The autoconf-2.57 package on hobbes comes with a nice README.OS2 which details what to do to install it (IIRC, configure with some special option and just make install). Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Fri, 29 Aug 2003 12:09:22 -0400 From: "T.Sikora" Subject: some last minute additions Trying to get Mozilla built. I made some additions to the ux2bs that make it that much more usable. The emx and gcc environments are totally seperate and configurable. The std EMX environment is proven so it's current setup cannot be improved on very much. GCC is a different story. We need to do some work there. pkg_inst ----------- cp -p /bin/bash.exe /bin/gbash.exe unzip -o %repository%\misc\gmake-3_79_2a1.zip -d %uxrt%\bin if exist %osrt%\OS2\RC.OLD goto done copy %osrt%\OS2\RC.EXE %osrt%\OS2\RC.OLD goto mozrc :mozrc unzip -o %repository%\misc\os2tk40rc.zip -d %osrt%\OS2 goto done :done The default make is 3.76.1 and gmake is 3.79a1 Moz required resource compiler and install tools. Rather than a lenghty explanation just look here. The emx and gcc environments are separate now called by the shells. Each shell sets the system wide defaults with sbin\ux2_env then calls it's own local and config cmd's ie; etc\gcc_local and gcc_config. http://os2ports.com/ftp/pub/unixos2/ux2bs-changes Dont's update yet I'll give the word later today and everyone can upgrade and put us on equal footings. We will be using the ux2bs-devel rsync server. ux2bs is the public release. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Fri, 29 Aug 2003 12:11:19 -0400 From: "T.Sikora" Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env Henry Sobotka wrote: > T.Sikora wrote: > >>Did anyone actually complete builds of Mozilla or any other g++ >>programs with 3.2.1? > > > Yes, back when 3.2.1 was released. But Mozilla doesn't rely on the > standard library and only needs -lstdcxx in a couple spots. > > h~ > So the SET CXX=gcc setting in setmozenv is correct and not CXX=g++? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Fri, 29 Aug 2003 12:15:28 -0700 (MST) From: "James Moe" Subject: Re: g++ v3.2.1 and env -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 14:00:27 -0500 (CDT), Cheng-Yang_Tan wrote: >> mt: >> 675414 Mar 6 00:51 stdcxx.a >> >> st: >> 666818 Mar 6 00:53 stdcxx.a >> > >Here's what I have in my > >D:/gnu/emx3.2.1/lib/gcc-lib/i386-pc-os2-emx/3.2.1/mt at rachel%ls -l >-rw-rw---a 675414 Mar 6 00:51 stdcxx.a > >D:/gnu/emx3.2.1/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st at rachel%ls -l >-rw-rw---a 666818 Mar 6 00:53 stdcxx.a > They appear to be the same. (!) Just as a sanity check, would you build this program? #include using namespace std; int main (int argc, char ** argv) { cout << "Hello, world!" << endl; return 0; } using "g++ test.cpp" - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T6ZQsxxMki0foKoRAgVXAJ0dzUExnIdZn77gjkFy5w70F8oJNgCg2aBA c8lDp1NjopwT7BEQCLoYyUU= =aQgE -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Fri, 29 Aug 2003 12:44:47 -0400 From: "T.Sikora" Subject: GCC builds So far the initial ports gmp, gdbm, and gnuufc build with 3.2.1. We just need to patch Perl to build. Mozilla next? I figure if we can get that beast building here the GCC environment should be pretty much debugged. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Fri, 29 Aug 2003 12:49:41 -0400 From: "T.Sikora" Subject: Re: GCC builds T.Sikora wrote: > So far the initial ports gmp, gdbm, and gnuufc build with 3.2.1. We just > need to patch Perl to build. Mozilla next? I figure if we can get that > beast building here the GCC environment should be pretty much debugged. > I setup gcc_config and ux2_config with: REM ** AUTOCONF VERSION SETTINGS ** REM ** Uncomment each section for the version desired ** REM ** (Default) AUTOCONF SETTINGS ** SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/bin/aclocal"} SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/bin/autoconf"} SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/bin/automake"} SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/bin/autoheader"} REM ** AUTOCONF VERSION 2.5.7 SETTINGS ** rem SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/local/bin/aclocal"} rem SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/local/bin/autoconf"} rem SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/local/bin/automake"} rem SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/local/bin/autoheader"} The older autoconf works fine with EMX and the newer one breaks some port builds.... actually a whole lot of them. So maybe putting the newer autoconf in /usr/local and defining which one to use through the config files is a good compromise? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Fri, 29 Aug 2003 13:07:09 -0400 From: "T.Sikora" Subject: Re: Re: GCC builds T.Sikora wrote: > T.Sikora wrote: > >> So far the initial ports gmp, gdbm, and gnuufc build with 3.2.1. We >> just need to patch Perl to build. Mozilla next? I figure if we can get >> that beast building here the GCC environment should be pretty much >> debugged. >> > > I setup gcc_config and ux2_config with: > > REM ** AUTOCONF VERSION SETTINGS ** > REM ** Uncomment each section for the version desired ** > > REM ** (Default) AUTOCONF SETTINGS ** > SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/bin/aclocal"} > SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/bin/autoconf"} > SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/bin/automake"} > SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/bin/autoheader"} > > REM ** AUTOCONF VERSION 2.5.7 SETTINGS ** > rem SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/local/bin/aclocal"} > rem SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/local/bin/autoconf"} > rem SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/local/bin/automake"} > rem SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/local/bin/autoheader"} > > > The older autoconf works fine with EMX and the newer one breaks some > port builds.... actually a whole lot of them. So maybe putting the newer > autoconf in /usr/local and defining which one to use through the config > files is a good compromise? > Forgot this: SET AUTOCONF=/usr SET AC_PREFIX=%AUTOCONF%/bin SET AC_MACRODIR=%AUTOCONF%/share/autoconf It's all set. Don't get it yet!! After I make the baseline_fixup.cmd you can get it. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Fri, 29 Aug 2003 13:24:07 -0700 (MST) From: "James Moe" Subject: Re: autoconf v2.57 build -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 19:58:54 +0100, John Poltorak wrote: >You ought to be able to build this version of autoconf just by running >build autoconf > Yes, that is what I did. I also remember it building on the previous version of ux2bs. autoconf-2.57 ..Using autoconf (GNU Autoconf) 2.50 (release 3 for OS/2) ./aclocal.m4:46: error: Autoconf version 2.54 or higher is required for this script ./aclocal.m4:46: the top level ..autoconf failed. autoconf-2.54 ..Using autoconf (GNU Autoconf) 2.50 (release 3 for OS/2) ./aclocal.m4:46: error: Autoconf version 2.53b or higher is required for this script ./aclocal.m4:46: the top level ..autoconf failed: 1. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T7ZnsxxMki0foKoRAr03AJ9BdBxwKVHZb9MdcEIQvo4Sq+vBXACfZkoc n69Jlv+0J/PvU/v4OxgMU64= =qykA -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Fri, 29 Aug 2003 13:31:25 -0700 (MST) From: "James Moe" Subject: Re: g++ v3.2.1 and env -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 14:20:12 -0500 (CDT), Cheng-Yang_Tan wrote: >Here's what I got: > >[D:\tmp\gcctest]g++ test.cpp >[D:\tmp\gcctest].\test >Hello, world! > Well, then. It's a mystery! Would you use --verbose when building the program and send the results to me (jimoe at sohnen-moe.com)? (It may be a bit excessive for the list.) And also the output using --print-search-dirs switch. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T7gdsxxMki0foKoRAoT5AJwPKN+LLcC2el0iKu06ZyML2xNqeACfX4ZU DWAqieew9qtOurHkL4CVTuA= =AQ8z -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Fri, 29 Aug 2003 13:35:55 -0400 From: "T.Sikora" Subject: Re: Re: GCC builds T.Sikora wrote: > T.Sikora wrote: > >> T.Sikora wrote: >> >>> So far the initial ports gmp, gdbm, and gnuufc build with 3.2.1. We >>> just need to patch Perl to build. Mozilla next? I figure if we can >>> get that beast building here the GCC environment should be pretty >>> much debugged. >>> >> >> I setup gcc_config and ux2_config with: >> >> REM ** AUTOCONF VERSION SETTINGS ** >> REM ** Uncomment each section for the version desired ** >> >> REM ** (Default) AUTOCONF SETTINGS ** >> SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/bin/aclocal"} >> SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/bin/autoconf"} >> SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/bin/automake"} >> SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/bin/autoheader"} >> >> REM ** AUTOCONF VERSION 2.5.7 SETTINGS ** >> rem SET ACLOCAL=${ACLOCAL-"${UXRT}/usr/local/bin/aclocal"} >> rem SET AUTOCONF=${AUTOCONF-"${UXRT}/usr/local/bin/autoconf"} >> rem SET AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/local/bin/automake"} >> rem SET AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/local/bin/autoheader"} >> >> >> The older autoconf works fine with EMX and the newer one breaks some >> port builds.... actually a whole lot of them. So maybe putting the >> newer autoconf in /usr/local and defining which one to use through the >> config files is a good compromise? >> > > Forgot this: > > SET AUTOCONF=/usr > SET AC_PREFIX=%AUTOCONF%/bin > SET AC_MACRODIR=%AUTOCONF%/share/autoconf > > It's all set. Don't get it yet!! After I make the baseline_fixup.cmd you > can get it. > Got to remove the %uxrt% and replace it with %autoconf%. We don't want any drive letters in the Unix environment. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Fri, 29 Aug 2003 13:42:31 -0400 From: "T.Sikora" Subject: Re: Re: GCC builds T.Sikora wrote: > T.Sikora wrote: > >> T.Sikora wrote: >> > > Got to remove the %uxrt% and replace it with %autoconf%. We don't want > any drive letters in the Unix environment. > Much cleaner. REM ** AUTOCONF VERSION SETTINGS ** REM ** Set the autoconf path for the appropiate version desired. REM ** AUTOCONF 2.13 (default) =/usr REM ** AUTOCONF 2.57 =/usr/local SET AUTOCONF=/usr SET AC_PREFIX=%AUTOCONF%/bin SET AC_MACRODIR=%AUTOCONF%/share/autoconf SET ACLOCAL=${ACLOCAL-"${AUTOCONF}/bin/aclocal"} SET AUTOCONF=${AUTOCONF-"${AUTOCONF}/bin/autoconf"} SET AUTOMAKE=${AUTOMAKE-"${AUTOCONF}/bin/automake"} SET AUTOHEADER=${AUTOHEADER-"${AUTOCONF}/bin/autoheader"} -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Fri, 29 Aug 2003 14:23:51 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: [UnixOS2] Re: g++ v3.2.1 and env > > Has *anyone* ever gotten a > > g++ v3.2.1 program to > > build? I got a couple of patches to make wxWindows work with gcc-3.2.1, so compiling C++ code must work in principle. Maybe trying to run gcc -o foo.exe foo.cpp -lstdcxx works better than g++ -o foo.exe foo.cpp ? Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 23 ==========================** Date: Fri, 29 Aug 2003 15:59:43 -0400 From: "T.Sikora" Subject: Re: g++ v3.2.1 and env James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 29 Aug 2003 14:00:27 -0500 (CDT), Cheng-Yang_Tan wrote: > > >>>mt: >>> 675414 Mar 6 00:51 stdcxx.a >>> >>>st: >>> 666818 Mar 6 00:53 stdcxx.a >>> >> >>Here's what I have in my >> >>D:/gnu/emx3.2.1/lib/gcc-lib/i386-pc-os2-emx/3.2.1/mt at rachel%ls -l >>-rw-rw---a 675414 Mar 6 00:51 stdcxx.a >> >>D:/gnu/emx3.2.1/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st at rachel%ls -l >>-rw-rw---a 666818 Mar 6 00:53 stdcxx.a >> > > They appear to be the same. (!) > Just as a sanity check, would you build this program? > > #include > using namespace std; > int main (int argc, char ** argv) > { > cout << "Hello, world!" << endl; > return 0; > } > > using "g++ test.cpp" > Here's what I got: [localhost|e:/usr/local/src]g++ test.cpp e:\tmp/cc93xKMW.o: Undefined symbol __Z4endlR7ostream referenced from text segment e:\tmp/cc93xKMW.o: Undefined symbol _cout referenced from text segment e:\tmp/cc93xKMW.o: Undefined symbol __ZN7ostreamlsEPKc referenced from text segment -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 24 ==========================** Date: Fri, 29 Aug 2003 17:14:09 -0400 From: "T.Sikora" Subject: HEADS UP It's done! For now. Get baseline_fixup.cmd to fixup your baseline. Put it in /sbin and run it. Then delete everything but /install/archives and run the new bootstrap. Make sure the contents of emx/, ux2/, and gcc/ match the baseline on the server first before going anything. ftp://os2ports.com/pub/unixos2/ux2bs-devel/baseline ftp://os2ports.com/pub/unixos2/ux2bs-changes/baseline_fixup.cmd ftp://os2ports.com/pub/unixos2/ux2bs-devel/ux2bs_inst.cmd Make sure the bootstrap says 'Developers Site' at the top. The public version says Stable Release. They are different rsync modules. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 25 ==========================** Date: Fri, 29 Aug 2003 18:02:55 -0700 (MST) From: "James Moe" Subject: Re: dumps of g++ verbose and search dirs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 15:44:40 -0500 (CDT), Cheng-Yang_Tan wrote: >Hope this helps. > Well, there are a couple of noticeable differences between yours and mine. 1. In the programs search, yours does not show /emx/include/cpp in the CPLUS_INCLUDE_PATH. It is required in my installation yet yours works fine without it. 2. The library paths are different. Most notably yours has these two entries: d:/tmp/gcctest/i386-pc-os2-emx/3.2.1/; d:/tmp/gcctest/; that are not in mine. Would you look at those directories and see what is there? - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/T/e/sxxMki0foKoRAvWDAKC3rurd9xIAFNdiBCISbWAKv6kw4gCfc63u 4j+WeIERNmqgGDhfflC5MhM= =t6Tw -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 26 ==========================** Date: Fri, 29 Aug 2003 19:15:13 -0500 From: Jeff Robinson Subject: g++ --print-search-dirs James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 29 Aug 2003 14:20:12 -0500 (CDT), Cheng-Yang_Tan wrote: > > >>Here's what I got: >> >>[D:\tmp\gcctest]g++ test.cpp >>[D:\tmp\gcctest].\test >>Hello, world! >> > > Well, then. It's a mystery! > Would you use --verbose when building the program and send the results to me > (jimoe at sohnen-moe.com)? (It may be a bit excessive for the list.) And also the output > using --print-search-dirs switch. > Following your advice, I ran the --print-search-dirs in my UX2 "gcc shell" and came up with this: [unixos2 F:\ports>g++ --print-search-dirs install: /gcc/lib/gcc-lib/i386-pc-os2-emx/3.2.1/ programs: =F:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;F:/emx/lib/gcc-lib/;F:/EMX/ lib/gcc-lib/i386-pc-os2-emx/3.2.1/;F:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;F:/ EMX/lib/gcc-lib/i386-pc-os2-emx/;F:/usr/lib/gcc/i386-pc-os2-emx/3.2.1/;F:/usr/li b/gcc/i386-pc-os2-emx/;F:/EMX/i386-pc-os2-emx/bin/i386-pc-os2-emx/3.2.1/;F:/EMX/ i386-pc-os2-emx/bin/ libraries: =F:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;F:/emx/lib/gcc-lib/;F:/lib /i386-pc-os2-emx/3.2.1/;F:/lib/;F:/usr/lib/i386-pc-os2-emx/3.2.1/;F:/usr/lib/;F: /emx/lib/i386-pc-os2-emx/3.2.1/;F:/emx/lib/;F:/EMX/lib/gcc-lib/i386-pc-os2-emx/3 .2.1/;F:/usr/lib/gcc/i386-pc-os2-emx/3.2.1/;F:/EMX/i386-pc-os2-emx/lib/i386-pc-o s2-emx/3.2.1/;F:/EMX/i386-pc-os2-emx/lib/;F:/EMX/lib/i386-pc-os2-emx/3.2.1/;F:/E MX/lib/;F:/lib/i386-pc-os2-emx/3.2.1/;F:/lib/;F:/usr/lib/i386-pc-os2-emx/3.2.1/; F:/usr/lib/ This thing I notice is that the first entry of each line starts with the equals sign. Am I right in thinking that this would clobber the first directory entry? (I'm still looking to find where this is set to see if it is a syntax error or not). Jeff -- ---------------- Whatza JamochaMUD? http://jamochamud.anecho.mb.ca Or other stuff: http://www.anecho.mb.ca/~jeffnik ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 27 ==========================** Date: Fri, 29 Aug 2003 19:31:28 -0400 From: "T.Sikora" Subject: g++ results This is a multi-part message in MIME format. --------------030108080201000408080909 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Here they are. Look here.. install = /gcc/lib/gcc-lib/i386-pc-os2-emx/3.2.1/ Also has a --prefix=/gcc -- T.Sikora tsikora at ntplx dot net --------------030108080201000408080909 Content-Type: www/unknown; name="test.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.log" Reading specs from E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/specs Configured with: --enable-clh --enable-threads --enable-shared --enable-nls --without-included-gettext --prefix=/gcc Thread model: os2 gcc version 3.2.1 E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/cc1plus.exe -v -iprefix e:\emx\bin.new/../lib/gcc-lib/i386-pc-os2-emx/3.2.1/ -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__32BIT__ -D__EMX__ -D__OS2__ -D__i386__ -D__i386 -Dunix -D__32BIT__ -D__EMX__ -D__OS2__ -D__i386__ -D__i386 -D__unix__ -D__unix -Asystem=unix -Asystem=posix -Asystem=emx -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D__cdecl=__attribute__((__cdecl__)) -D__stdcall=__attribute__((__stdcall__)) -D__optlink=__attribute__((__optlink__)) -D_cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_optlink=__attribute__((__optlink__)) test.cpp -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -quiet -dumpbase test.cpp -version -o - | as --traditional-format -o /tmp/ccPHtT4v.o GNU CPP version 3.2.1 (cpplib) (80386, BSD syntax) GNU C++ version 3.2.1 (i386-pc-os2-emx) compiled by GNU C version 3.2.1. #include "..." search starts here: #include <...> search starts here: e:/emx/include/cpp e:/emx/include e:/usr/include e:/usr/local/include e:/XFree86/include e:/emx/include/c++/3.2.1 e:/emx/include/c++/3.2.1/i386-pc-os2-emx e:/emx/include/c++/3.2.1/backward e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include E:/EMX/include/c++/3.2.1 E:/EMX/include/c++/3.2.1/i386-pc-os2-emx E:/EMX/include/c++/3.2.1/backward E:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include E:/EMX/include End of search list. ld -o test.exe E:/emx/lib/crt0.o -LE:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st -LE:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1 -LE:/emx/lib/gcc-lib -LE:/emx/lib/st -LE:/emx/lib -LE:/emx/lib/mt -LE:/lib -LE:/usr/lib -LE:/usr/local/lib -LE:/XFree86/lib -LE:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/st -LE:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1 -LE:/EMX/lib/st -LE:/EMX/lib -LE:/lib -LE:/usr/lib /tmp/ccPHtT4v.o -lstdcxx -lm -lc_alias -lgcc_eh -lgcc -lc -lc_app -lgcc_eh -lgcc -lc -lemx -los2 -lemx2 /tmp/ccPHtT4v.o: Undefined symbol __Z4endlR7ostream referenced from text segment /tmp/ccPHtT4v.o: Undefined symbol _cout referenced from text segment /tmp/ccPHtT4v.o: Undefined symbol __ZN7ostreamlsEPKc referenced from text segment [localhost|e:/usr/local/src]g++ --print-search-dir test.cpp install: /gcc/lib/gcc-lib/i386-pc-os2-emx/3.2.1/ programs: =E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;E:/emx/lib/gcc-lib/;E:/EMX/ lib/gcc-lib/i386-pc-os2-emx/3.2.1/;E:/EMX/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;E:/ EMX/lib/gcc-lib/i386-pc-os2-emx/;E:/usr/lib/gcc/i386-pc-os2-emx/3.2.1/;E:/usr/li b/gcc/i386-pc-os2-emx/;E:/EMX/i386-pc-os2-emx/bin/i386-pc-os2-emx/3.2.1/;E:/EMX/ i386-pc-os2-emx/bin/ libraries: =E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/;E:/emx/lib/gcc-lib/;E:/emx /lib/i386-pc-os2-emx/3.2.1/;E:/emx/lib/;E:/emx/lib/mt/i386-pc-os2-emx/3.2.1/;E:/ emx/lib/mt/;E:/lib/i386-pc-os2-emx/3.2.1/;E:/lib/;E:/usr/lib/i386-pc-os2-emx/3.2 .1/;E:/usr/lib/;E:/usr/local/lib/i386-pc-os2-emx/3.2.1/;E:/usr/local/lib/;E:/XFr ee86/lib/i386-pc-os2-emx/3.2.1/;E:/XFree86/lib/;E:/EMX/lib/gcc-lib/i386-pc-os2-e mx/3.2.1/;E:/usr/lib/gcc/i386-pc-os2-emx/3.2.1/;E:/EMX/i386-pc-os2-emx/lib/i386- pc-os2-emx/3.2.1/;E:/EMX/i386-pc-os2-emx/lib/;E:/EMX/lib/i386-pc-os2-emx/3.2.1/; E:/EMX/lib/;E:/lib/i386-pc-os2-emx/3.2.1/;E:/lib/;E:/usr/lib/i386-pc-os2-emx/3.2 .1/;E:/usr/lib/ --------------030108080201000408080909 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs --------------030108080201000408080909-- **= Email 28 ==========================** Date: Fri, 29 Aug 2003 19:58:54 +0100 From: John Poltorak Subject: Re: autoconf v2.57 build On Fri, Aug 29, 2003 at 11:55:58AM -0700, James Moe wrote: > On Fri, 29 Aug 2003 12:03:56 +0200 (CEST), Stefan.Neis at t-online.de wrote: > > >The autoconf-2.57 package on hobbes comes with a nice README.OS2 > > > I could not find it on Hobbes. There is 2.13, 2.50, 2.53 and 2.53b. > > > - -- > jimoe at sohnen-moe dot com You ought to be able to build this version of autoconf just by running build autoconf At least it worked last time I tried. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 29 ==========================** Date: Fri, 29 Aug 2003 22:03:01 -0400 From: Henry Sobotka Subject: Re: Re: dumps of g++ verbose and search dirs James Moe wrote: > > Well, there are a couple of noticeable differences between yours and mine. > 1. In the programs search, yours does not show /emx/include/cpp in the > CPLUS_INCLUDE_PATH. It is required in my installation yet yours works fine without it. Bingo! You've had me baffled with this since your raised the problem. [C:\temp]g++ hello.cpp C:\TEMP/ccvBilqA.o: Undefined symbol __Z4endlR7ostream referenced from text segment C:\TEMP/ccvBilqA.o: Undefined symbol _cout referenced from text segment C:\TEMP/ccvBilqA.o: Undefined symbol __ZN7ostreamlsEPKc referenced from text segment [C:\temp]set CPLUS_INCLUDE_PATH= [C:\temp]g++ hello.cpp [C:\temp]hello Hello, world! [C:\temp]g++ -v Reading specs from D:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/specs Configured with: --enable-clh --enable-threads --enable-shared --enable-nls --wi thout-included-gettext --prefix=/gcc Thread model: os2 gcc version 3.2.1 h~ _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 30 ==========================** Date: Fri, 29 Aug 2003 22:38:01 -0400 From: "T.Sikora" Subject: Re: Re: dumps of g++ verbose and search dirs James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 29 Aug 2003 15:44:40 -0500 (CDT), Cheng-Yang_Tan wrote: > > >>Hope this helps. >> > > Well, there are a couple of noticeable differences between yours and mine. > 1. In the programs search, yours does not show /emx/include/cpp in the > CPLUS_INCLUDE_PATH. It is required in my installation yet yours works fine without it. That's my first entry in the CPLUS_INCLUDE_PATH statement? > > 2. The library paths are different. Most notably yours has these two entries: > d:/tmp/gcctest/i386-pc-os2-emx/3.2.1/; > d:/tmp/gcctest/; > that are not in mine. Would you look at those directories and see what is there? They don't exist. > > > - -- -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 31 ==========================** Date: Fri, 29 Aug 2003 22:58:19 -0400 From: "T.Sikora" Subject: xfree86 I forgot to mention if you want the complete XFree86 env run xfree_install and it will download the xfree430-bin.zip package and install it. English and German Installation guides are included. All you really need to do is set the driver in config.sys and run xfree86 -configure. There's already a start x button. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 32 ==========================** Date: Fri, 29 Aug 2003 23:29:26 -0700 (MST) From: "James Moe" Subject: Re: Re: dumps of g++ verbose and search dirs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 22:38:01 -0400, T.Sikora wrote: >> 1. In the programs search, yours does not show /emx/include/cpp in the >> CPLUS_INCLUDE_PATH. It is required in my installation yet yours works fine >> without it. > >That's my first entry in the CPLUS_INCLUDE_PATH statement? > Ah, sorry. I was asking Cheng-Yang Tan for the info. I had copied the mailing list. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/UERGsxxMki0foKoRAp0oAKCzH7LIISBu9eeeexMEK58VAoLbSgCggTcr tGs6bI/f22I38clZfqDdJc0= =X3lY -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 33 ==========================** Date: Fri, 29 Aug 2003 23:46:01 -0700 (MST) From: "James Moe" Subject: Re: Re: dumps of g++ verbose and search dirs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 29 Aug 2003 22:03:01 -0400, Henry Sobotka wrote: >> 1. In the programs search, yours does not show /emx/include/cpp in the >> CPLUS_INCLUDE_PATH. It is required in my installation yet yours works >>fine without it. > >Bingo! You've had me baffled with this since your raised the problem. > There seems to be some problem in the ordering of the include's then? Here's what happens when I tried the same thing: [ux2bs>set cplus_include_path= [ux2bs>g++ test.cpp In file included from g:/emx/include/c++/3.2.1/bits/localefwd.h:48, from g:/emx/include/c++/3.2.1/ios:48, from g:/emx/include/c++/3.2.1/ostream:45, from g:/emx/include/c++/3.2.1/iostream:45, from test.cpp:1: g:/emx/include/c++/3.2.1/cctype:68: `isalnum' not declared g:/emx/include/c++/3.2.1/cctype:69: `isalpha' not declared -- etc -- If I set "cplus_include_path=/emx/include/cpp" only, the problem reverts to missing library entries. The way it seems to work is that -I directives, then cplus_include_path entries, take precedence over the built-in search paths. (I used --verbose to verify this.) If the the built-in ordering could be changed, that might fix it. But how? When you compile using --verbose, does one of the search paths look like: /emx/include/c++ If so, does it actually exist? And is there anything in it? Also does "/emx/include/cpp/" show in the list? (I am looking at what is different among those who have a working compiler, and those that do not.) - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/UEgpsxxMki0foKoRAqvQAKDHWbbv/Mv++6x9EZjYvlCpWluscQCfRCa6 lY6yf2LdYKlLPe2OhZM5U28= =zJYp -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs