So what incantation replaces -lc on
libtool -dynamic ... -lc ...
Thank your Apple, kids.
Thanks, Apple.
--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
Discordia: not just a religion but also a parody. This post / \
I am an Andrea Doria sockpuppet. insults Islam. Mohammed
Being an open format as it is, usenet will never go away but it'll never
be very useful. Which do you think is the better troll? Shadow or John Gohde? I vote for John Gohde; only because he occasionally does understand what he reads, even if, sadly, he forgets it sometimes days later. Shadow has been tracking him to deeply see the depths of John Gohde's flooding.
It is trivial to pick by bragging about a few special cases unrepresentative from what's something more common like Windows. What is more important from an advocacy point of view are the ordinary events.
In article
<b515e421-d4ff-44ae-97ad-1802f15f012an@googlegroups.com>,
Shadow <frelwizzen@gmail.com> wrote:
So your recommendation is don't use dynamic libraries on 11.0.
That's helpful.
10.9.5
11.0.1
In message <chine.bleu-C4C6A1.19323315012021@reader.eternal-september.org> Siri Cruise <chine.bleu@yahoo.com> wrote:
In article
<b515e421-d4ff-44ae-97ad-1802f15f012an@googlegroups.com>,
Shadow <frelwizzen@gmail.com> wrote:
So your recommendation is don't use dynamic libraries on 11.0.
That's helpful.
Do not respond to the bot-generated shit.
10.9.5
11.0.1
There's a lot of years in between these two versions. Have you compared
man pages?
In message <chine.bleu-C4C6A...@reader.eternal-september.org> Siri Cruise <chine...@yahoo.com> wrote:
In article
<b515e421-d4ff-44ae...@googlegroups.com>,
Shadow <frelw...@gmail.com> wrote:
So your recommendation is don't use dynamic libraries on 11.0.Do not respond to the bot-generated shit.
That's helpful.
10.9.5
11.0.1
There's a lot of years in between these two versions. Have you compared
man pages?
--
Hudd: 'I've just done this radio show where I never met any of the
other actors and I didn't understand what any of it was about'
Moore: 'Ah, yes I expect that's the thing I'm in.'
In article
<b515e421-d4ff-44ae-97ad-1802f15f012an@googlegroups.com>,
Shadow <frelwizzen@gmail.com> wrote:
Being an open format as it is, usenet will never go away but it'll never >> be very useful. Which do you think is the better troll? Shadow or John
Gohde? I vote for John Gohde; only because he occasionally does understand >> what he reads, even if, sadly, he forgets it sometimes days later. Shadow >> has been tracking him to deeply see the depths of John Gohde's flooding. >> It is trivial to pick by bragging about a few special cases
unrepresentative
from what's something more common like Windows. What is more important from
an advocacy point of view are the ordinary events.
So your recommendation is don't use dynamic libraries on 11.0.
That's helpful.
(sw_vers -productVersion; set -x
mkdir -p /tmp/t; cd /tmp/t
(echo '#include <stdio.h>'; echo 'void t(void) {puts("t");}') >t.c
cc -c -o t.o t.c
/usr/bin/libtool -dynamic -o t.dylib -lc t.o
/usr/bin/libtool -dynamic -o t.dylib t.o)
10.9.5
+ mkdir -p /tmp/t
+ cd /tmp/t
+ echo '#include <stdio.h>'
+ echo 'void t(void) {puts("t");}'
+ cc -c -o t.o t.c
+ /usr/bin/libtool -dynamic -o t.dylib -lc t.o
ld: warning: -macosx_version_min not specified, assuming 10.8
+ /usr/bin/libtool -dynamic -o t.dylib t.o
ld: warning: -macosx_version_min not specified, assuming 10.8
Undefined symbols for architecture x86_64:
"_puts", referenced from:
_t in t.o
ld: symbol(s) not found for architecture x86_64 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault .xctoolchain/usr/bin/libtool: internal link edit command failed
11.0.1
+-zsh:2> mkdir -p /tmp/t
+-zsh:2> cd /tmp/t
+-zsh:3> echo '#include <stdio.h>'
+-zsh:3> echo 'void t(void) {puts("t");}'
+-zsh:4> cc -c -o t.o t.c
+-zsh:5> /usr/bin/libtool -dynamic -o t.dylib -lc t.o
ld: library not found for -lc
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault .xctoolchain/usr/bin/libtool: internal link edit command failed
+-zsh:6> /usr/bin/libtool -dynamic -o t.dylib t.o
ld: warning: object file (t.o) was built for newer macOS version
(11.0) than being linked (10.4)
Undefined symbols for architecture arm64:
"_puts", referenced from:
_t in t.o
ld: symbol(s) not found for architecture arm64
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault .xctoolchain/usr/bin/libtool: internal link edit command failed
/usr/bin/libtool -dynamic -o t.dylib -lc -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develope r/SDKs/MacOSX.sdk t.o
In article <ru12v4$41u$1...@dont-email.me>,
Krzysztof Mitko <inv...@kmitko.at.list.dot.pl> wrote:
/usr/bin/libtool -dynamic -o t.dylib -lc -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/DevelopeI had to add macosx_version_min, or I got a warning about 10.4.
r/SDKs/MacOSX.sdk t.o
(sys=$(sw_vers -productVersion); echo $sys; set -x
mkdir -p /tmp/t; cd /tmp/t
(echo '#include <stdio.h>'; echo 'void t(void) {puts("t");}') >t.c
clang -c -o t.o t.c
/usr/bin/libtool -dynamic -o t.dylib -lc -syslibroot $P
-macosx_version_min $sys t.o)
11.0.1
+-zsh:55> mkdir -p /tmp/t
+-zsh:55> cd /tmp/t
+-zsh:56> echo '#include <stdio.h>'
+-zsh:56> echo 'void t(void) {puts("t");}'
+-zsh:57> clang -c -o t.o t.c
+-zsh:58> /usr/bin/libtool -dynamic -o t.dylib -lc -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfo rm/Developer/SDKs/MacOSX.sdk -macosx_version_min 11.0.1 t.o
lipo -info /tmp/t/t.dylib
Non-fat file: /tmp/t/t.dylib is architecture: arm64
file /tmp/t/t.dylib
/tmp/t/t.dylib: Mach-O 64-bit dynamically linked shared library
arm64
Thank you for the proper 11.0 incantation.
--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
Discordia: not just a religion but also a parody. This post / \
I am an Andrea Doria sockpuppet. insults Islam. Mohammed
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 790 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:55:48 |
Calls: | 12,115 |
Calls today: | 5 |
Files: | 5,294 |
D/L today: |
72 files (9,959K bytes) |
Messages: | 564,933 |