[uae] Re: New snapshot or source code

  • From: Bernd Schmidt <bernds_cb1@xxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Sun, 27 Jan 2008 20:32:00 +0100

Andrew 'Truck' Holland wrote:
> On So, 27 Jan 2008, Jens Weichert wrote:
> 
>>> Hi Rich
>> 
>>> I included a MacOS/PPC build. I used this configure line to build
>>> it: ./configure  --with-sdl-gfx --with-sdl-sound --with-sdl-gl
>>> --enable- scsi-device CFLAGS="-ggdb -O3 -mtune=7400
>>> -Wwrite-strings" --with- caps
>>> --with-caps-prefix=/Users/evilrich/ipfdevlib_linux/ LDFLAGS=-"F
>>> /Users/evilrich/Library/Frameworks"
>> 
>> I would compile this by myself, but get the following error:
>> 
>> "configure: error: C compiler cannot create executables"
> 
> Standard, completely useless gcc error that doens't describe the
> correct error.  Your gcc can make executables, it just defaults to
> that error instead of 'syntax error' or something more generic.

Actually it's nothing to do with gcc, it's an error you get from the
configure script when it tries to compile a test program and doesn't get
an executable for whatever reason.  The actual error, from the log,
appears to be this:

ld: in /Library/Frameworks, can't map file, errno=22
collect2: ld returned 1 exit status

No idea what that means though, I don't do MacOS.


Bernd


Other related posts: