| |

VerySource

 Forgot password?
 Register
Search
View: 783|Reply: 1

How to compile and run Linux programs based on glibc in Solaris

[Copy link]

2

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-23 13:30:02
| Show all posts |Read mode
How to compile and run Linux programs based on glibc in Solaris
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-26 11:30:01
| Show all posts
Make sure you have installed a compiler such as gcc, if it is installed, make sure the header file contains glib.h
gcc filename.c `pkg-config --libs --cflags glib-2.0`
When using some libraries, gcc needs to specify the header file path and the library to be connected
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list