[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Re: GM2 build failure on OSX

From: Gaius Mulley
Subject: Re: [Gm2] Re: GM2 build failure on OSX
Date: Tue, 23 Jun 2009 01:00:55 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

B K <address@hidden> writes:

> after changing --strip-underscores to --strip-underscore, the build
> proceeds but the resulting compiler is of no use because when trying
> to compile/build anything with it it fails as the following example
> shows ...
> /usr/bin/ranlib /var/folders/0d/0dREfDvwHrK6Z7YL+1m3DU+++TI/-Tmp-//ccIGoWBQ.a
>  /Users/benjamin/opt/libexec/gcc/i386-apple-darwin9.7.1/4.1.2/collect2
> -dynamic -arch i386 -weak_reference_mismatches non-weak -o a.out
> -lcrt1.o -L/Users/benjamin/opt/lib/gcc/i386-apple-darwin9.7.1/4.1.2
> -L/Users/benjamin/opt/lib/gcc/i386-apple-darwin9.7.1/4.1.2/../../..
> /var/folders/0d/0dREfDvwHrK6Z7YL+1m3DU+++TI/-Tmp-//ccIGoWBQ.a -lstdc++
> -lgcc_eh -lgcc_s.10.4 -lgcc -lSystem
> ld: in 
> /var/folders/0d/0dREfDvwHrK6Z7YL+1m3DU+++TI/-Tmp-//ccIGoWBQ.a(DynamicStrings.o),
> object file contains old DWARF debug info - rebuild with newer
> compiler
> collect2: ld returned 1 exit status
> there is of course Xcode installed (v.3.1) on the same machine which
> uses both GCC 4.0.1 and GCC 4.2.
> any help would be appreciated
> thanks
> NB: this email address is used only for posting, incoming mail is
> automatically deleted, please reply to the list, thanks.


I'll investigate on an x86 based mac at work on Thursday.  I'm
particularly interested in trying to compile:

MODULE hello ;

FROM libc IMPORT printf ;

   printf("hello world\n")
END hello.


gm2 -g -c -flibs=min hello.mod
gm2 -g -flibs=min hello.mod

as this will not use DynamicStrings.o


reply via email to

[Prev in Thread] Current Thread [Next in Thread]