diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-05-04 18:58:30 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-05-04 18:58:30 -0700 |
commit | cd4afbb8595770d6058f0bcc7b5953946d5e87c4 (patch) | |
tree | b5b942153fd1ee6f1027acba3ff3fdaab23d1411 /mycan.c | |
parent | a879c97a5dbb9f29f7637509d4a02397478c8160 (diff) |
Maybe more correct
On raspberry pi debian 12, when trying to build
https://codeberg.org/flyxyz123/remote_plot, I got make error "ld:
undefined reference to ..." if use `cc -Wall $$(pkg-config --cflags
--libs libssh plplot gtk4) -lm -o $@ $^`. No error if move $^ to the
beginning. Not sure why, maybe becuase pi has an old version of gcc?
This repo does not have this issue if put `$^` at the end. But I think
put `$^` at the beginning maybe is a more correct way.
Diffstat (limited to 'mycan.c')
0 files changed, 0 insertions, 0 deletions