RE: MacOS X question

From: Ian Edwards (ian_at_concerto.demon.co.uk)
Date: Mon Jul 21 2003 - 16:27:35 BST

  • Next message: Ian Edwards: "Re: MacOS X question"
    On 17-Jul-03 Gaurav Khanna wrote:
    > 
    > I'm trying to compile ups debugger on Mac OS X 10.2.6 .. I have gotten 
    > quite far quite easily, but I'm getting stuck at this. Any tips?
    > 
    > gcc -c -pipe -traditional-cpp  -DHAVE_CONFIG_H  -I.  
    > -I/usr/X11R6/include -Idevelhdrs   ./ao_symload.c
    > ao_symload.c:1838: parse error before "ao_compiler"
    > ao_symload.c:1839: parse error before "fil_t"
    > ao_symload.c:1839: warning: data definition has no type or storage class
    
    Look in the file "ifdefs.h" that was written when you ran 'configure'.
    There should be one #define ARCH_xxx and one #define OS_xxx uncommented.
    I expect there aren't any.  This will break <ups/ao_ifdefs.h> etc.
    
    ARCH_xxx is meant to identify the processor architecture.
    OS_xxx is the operating system.
    
    As a fudge, in "ifdefs.h" try adding
    
    #define ARCH_PPC   1
    #define OS_MACOSX  1
    
    #if (OS_MACOSX)
    #define OS_BSD44   1
    #define OS_FREEBSD 1  /* possibly */
    #endif
    
    This may get you a bit further.
    
    If you don't have 'libelf' on your system then you may need a more recent
    one than that included with UPS; 0.8.4 says it supports MacOS X, see
    http://www.stud.uni-hannover.de/~michael/software/
    
    Ian.
    
    
    
     -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
     Ian Edwards <ian_at_concerto.demon.co.uk>       21-Jul-03  16:27:35
    
     Early Music Record Labels    - http://www.recordlabels.org/
     'ups' debugger for C/C++/f77 - http://ups.sourceforge.net/
     -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    


    This archive was generated by hypermail 2.1.4 : Sun Jul 27 2003 - 13:49:39 BST