From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22250 invoked by alias); 22 Jun 2004 14:17:57 -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 22236 invoked from network); 22 Jun 2004 14:17:56 -0000 Received: from unknown (HELO igw2.watson.ibm.com) (129.34.20.6) by sourceware.org with SMTP; 22 Jun 2004 14:17:56 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [129.34.20.41]) by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id i5MEHdW53886; Tue, 22 Jun 2004 10:17:39 -0400 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/8.11.7-01-14-2004) with ESMTP id i5MEHou68718; Tue, 22 Jun 2004 10:17:50 -0400 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id i5MEHna33996; Tue, 22 Jun 2004 10:17:50 -0400 Message-Id: <200406221417.i5MEHna33996@makai.watson.ibm.com> To: Tan-Long Phan cc: gcc-help@gcc.gnu.org Subject: Re: compiling g++ 3.2.3 In-Reply-To: Message from Tan-Long Phan of "Tue, 22 Jun 2004 10:09:32 EDT." <719A38AB7279D511B91900D0B7444A9E0FAF70AD@caemsx03.cae.ca> References: <719A38AB7279D511B91900D0B7444A9E0FAF70AD@caemsx03.cae.ca> Date: Tue, 22 Jun 2004 14:17:00 -0000 From: David Edelsohn X-SW-Source: 2004-06/txt/msg00222.txt.bz2 >>>>> Tan-Long Phan writes: Phan> This is the first time I'm porting my code from Linux to AIX, thankyou very Phan> much for your greate support. I still have another problem porting my Phan> software to AIX. On Linux, I use ioctl to get the hardware address of my Phan> network card : ioctl(mySocket, SIOCGIFHWADDR, (char *)wInfo); and the Phan> hardware address is returned in wInfo->ifr_hwaddr.sa_data[0] (wInfo is a Phan> pointer to ifreq structure). On AIX, ifr_hwaddr is not part of ifreq Phan> anymore, is there another way to get the hardware address on AIX Sorry, but this mailinglist is for help with GCC on various platforms, not general questions about porting to AIX. David