Re: порядок аргументов gcc

Anatoly Pugachev <[email protected]>
Newsgroups gmane.linux.debian.user.russian
Message-ID <CADxRZqy7gfDkFjXUjX1LJTZogsahOLAoPTwf88AkNNmzAzfGFg@mail.gmail.com>
On Fri, Sep 4, 2020 at 12:36 PM sergio <[email protected]> wrote:
>
> On 04/09/2020 12:26, Stanislav Maslovski wrote:
> > gcc --version
>
> gcc (Debian 10.2.0-6) 10.2.0


mator@ttip:~$ gcc -lusb usbtest.c
mator@ttip:~$ gcc usbtest.c -lusb
mator@ttip:~$ ./a.out
mator@ttip:~$ rm ./a.out
mator@ttip:~$ gcc --version
gcc (Debian 10.2.0-6) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.