Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
99 user(s) are online (87 user(s) are browsing Forums)

Members: 0
Guests: 99

more...

Support us!

Headlines

Report message:*
 

Re: GDB

Subject: Re: GDB
by billyfish on 2021/2/23 11:47:32

@kas1e


Quote:

It adds -let and -lunix not at the end of linking line as expected, but at the beginning, before "-o gdb", so it didn't taken into account :(


make LOADLIBES="$LOADLIBES -lunix -lnet"


will do it.

Also we can use EXEEXT flag at the build stage and it will automatically put that at the end of the gdb program name e.g.

make LOADLIBES="$LOADLIBES -lunix -lnet" EXEEXT="-clib2"


will end up with an executeable called gdb-clib2

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project