From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] gcc trouble From: mirtchov@cpsc.ucalgary.ca In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 7 Nov 2003 10:58:41 -0700 Topicbox-Message-UUID: 81d2ac8e-eacc-11e9-9e20-41e7f4b1d025 I was having the same problems today! funny... when you compile with gcc make sure you link the libraries from /386/lib/gnu/... you should have them all there. it's a pity that the gcc port has fallen behind -- ape just doesn't cut it for some things. i tried compiling /sys/src/gnu/ape/ today and it complained about lib9c.h, which is nowhere to be found on my system. I hacked around it, but then ran into problems trying to find getsockname(), even though libbsd.a was specified and was in the path and... so, porting links will be put on hold for another few months... andrey ps: does anyone know if it's possible to link together object files compiled with pcc and 8c? how about gcc and 8c/pcc? say I want to write the gui for a unix program i'm porting, one option is writing ape libraries for draw(), the other is writing native draw() code which links with the rest of the program. possible?