From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9661 invoked by alias); 2 Mar 2002 21:37:05 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9553 invoked from network); 2 Mar 2002 21:36:59 -0000 Received: from unknown (HELO sccmmhc02.mchsi.com) (204.127.203.184) by sources.redhat.com with SMTP; 2 Mar 2002 21:36:59 -0000 Received: from DAKEENS ([12.215.216.102]) by sccmmhc02.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020302213659.PEML24267.sccmmhc02.mchsi.com@DAKEENS>; Sat, 2 Mar 2002 21:36:59 +0000 From: "Dockeen" To: Cc: , Subject: GCC/Success/Interesting Notes Date: Sat, 02 Mar 2002 13:37:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2002-03/txt/msg00011.txt.bz2 Just got back from taking my kid to overnight on a battleship... I just got a chance to check something on the builds I did. One the Windows 98 build, the first one I did, I can either /mygcc/bin/g++ -o hello hello.cpp or /mygcc/bin/gcc -o hello hello.cpp Both work. On the install I did on laptop #1, a Win2000 box, the only way it works is if I /mygcc/bin/g++ -o hello hello.cpp -L/mygcc/lib If I use gcc, I get link errors. If I don't use the -L option, I get link errors whether I g++ or gcc. There are two other differences between the procedures that I used...maybe 3 (1) I did a -k on the first make of the suggested recipe to begin with on the Win2000 build. On the Win98 build, I ran as stated, saw the error that arose from fastjar, and then ran -k on the same make. (2) I tried on the Win98 version of Cygwin to do source installs (clicked the source box in the menu from setup.exe) on a number of things such as gcc, autoconf, automake, make etc., becuase I had noticed in the zlib portion of the configure that it was reporting some of that stuff missing. When I did the Win98 configure however, those items still showed up as missing, so I did not do that for the Win2000 build. (3) The versions of Cygwin were a dew days different, the Win98 build was newer, and was from the 1.3.10 family. In both cases I tried to eliminate all extra variable setting of things like C_PLUS_PATH. Something else occured to me, I did not add any path information to the .bashrc file. I knew that information was in the /etc/profile file, and I though from Kayvan's email he had it there for some other aps. I plan, at some time this weekend, to take my new laptop, the XP machine and try the install. We'll see what happens. Y'all let me know if you see something else stupid I am doing. Oh, yeah, here is Kayvan's "recipe" ./configure --prefix=/some/location make LANGUAGES=c bootstrap install make -k CC=/some/location/bin/gcc make -k install Where, as you can see from the earlier text, I took the computer language 101 for dummies approach and put things along a path called mygcc. Yes, when I wrote things in Ada, I instantiated stuff like my_int_io, my_float_io... Will keep boring you as I learn more... Wayne (Not So) Keen