Oh, I missed the commits from today.

Indeed, with latest mob (6bd0ced) this now succeeds:
./configure --disable-static && make && make test

However, when building and installing like this:
./configure --disable-static --prefix=$(pwd)/dist && make && make test && make 
install

Then it succeeds, but the tcc binary seems missing the dylib:
$ ./dist/bin/tcc
dyld: Library not loaded: @rpath/libtcc.dylib
 Referenced from: /Users/avih/dev/tcc/tcc.upstream/./dist/bin/tcc
 Reason: image not found
Abort trap: 6

When not using --disable-static, then tcc runs fine, compiles and even -run 
works.

     On Thursday, July 9, 2020, 07:07:12 PM GMT+3, Christian Jullien 
<eli...@orange.fr> wrote:  
 
 #yiv1885721961 #yiv1885721961 -- _filtered {} _filtered {} _filtered {} 
_filtered {}#yiv1885721961 #yiv1885721961 p.yiv1885721961MsoNormal, 
#yiv1885721961 li.yiv1885721961MsoNormal, #yiv1885721961 
div.yiv1885721961MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:New;}#yiv1885721961
 a:link, #yiv1885721961 span.yiv1885721961MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv1885721961 a:visited, #yiv1885721961 
span.yiv1885721961MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv1885721961 
span.yiv1885721961EmailStyle17 {color:#1F497D;}#yiv1885721961 
span.yiv1885721961datetime {}#yiv1885721961 .yiv1885721961MsoChpDefault {} 
_filtered {}#yiv1885721961 div.yiv1885721961WordSection1 {}#yiv1885721961 
?? can you please try with mob and give me the complete log?

  

The fix is “macos: tcc searches for libtcc.dyln in the same directory as its 
executable”

  

C.

  

From: avih [mailto:avih...@yahoo.com] 
Sent: Thursday, July 09, 2020 17:52
To: jull...@eligis.com; tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] macos: DYLD_LIBRARY_PATH no longer works after 
cleanup

  

What's the fix? I tried looking at the earlier messages, but didn't
see a diff/patch.

For me on osx 10.13 (real MBA) I also have the same issue when
using --disable-static, but it seems fine without it, including -run.

On Thursday, July 9, 2020, 06:38:10 PM GMT+3, Michael Matz 
<matz....@frakked.de> wrote: 

  

  

Hello Christian,

(I missed the question earlier, apologies)

On Thu, 9 Jul 2020, Christian Jullien wrote:

> If you have a moment, can you please test if my macos fix for dyld also 
> works on your configuration?

Yes, it works fine here on my emulated macOS.




Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
  
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to