-
-
Save rmartinho/87c263eec8f1fd1baadd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat hello.wide | |
Main() {} | |
$ ./widec hello.wide | |
Triple: x86_64-unknown-linux-gnu | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
'x86_64' is not a recognized processor for this target (ignoring processor) | |
$ ls | |
a.o hello.wide widec WideLibrary | |
$ ld a.o | |
ld: warning: cannot find entry symbol _start; defaulting to 00000000004000b0 | |
$ nm a.o | |
0000000000000000 t __0x39e09a0 | |
0000000000000010 T main | |
$ ld -e main a.o | |
$ ./a.out | |
Segmentation fault (core dumped) | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment