A c compiler is embedded in Pb.

Source: Internet
Author: User

Recently, I am tired of ASE and try again to get petabytes of data.
It is found that Pb compilation is implemented through C as the intermediate language. Pb is embedded with a C compilation. There are many areas to be studied. You may be able to directly obtain the original code program of pbl c.

When PB is compiled, select the machine code. Go to the temporary directory and you will see that many *. c. original program. temporary directory: directory specified by the system variable temp. if you dislike it too much, you can just change it.

Below is the starting part of the Pb-generated C program:
/* Section. Open main offset 224 */
Int winapi
Winmain
(
Hinstance hinst,
Hinstance hprevinstance,
Lpstr lpszcmdline,
Int ncmdshow
)
{
Return (fn_runexecutable (hinst, hprevinstance,
Lpszcmdline, ncmdshow, (lpstr)
Makeintresource (1000 ),
True ));
}
/* Section. Close main, size 326 */

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.