Browsing this Thread:
1 Anonymous Users
|
Re: Using a C++ compiled .a library
|
||||
|---|---|---|---|---|
|
Quite a regular
![]()
|
Well, it's a bunch of header files, ~20 or so.
Manfred
Posted on: 2016/2/28 15:59
|
|||
|
||||
|
Re: Using a C++ compiled .a library
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
If you have a matching C header file (.h), and the .a file can be used with G++ (C++ GCC), then yes, it is possible to use it with PortablE. You'd need to (1) create a special module (.e) that matches the header file, and then (2) give PEGCC the right GCC parameter to tell it to use the .a file.
Creating the special module is quite an advanced topic. The basics are covered in chapter 20. Advanced usage - accessing native OS/language elements, but even once you are familiar with them it can still be a laborious process, which is why I created a tool to partially automate the process (the generated file still needs cleaning-up & hence you still need to understand the basics). While I could potentially send you the tool, it might be simpler for me to take the header files & do the conversion for you (depending on complexity of the header).
Posted on: 2016/2/25 16:34
|
|||
|
||||
|
Using a C++ compiled .a library
|
||||
|---|---|---|---|---|
|
Quite a regular
![]()
|
Hi.
Another question. For a project I need to use a library that I have compiled from source. The result is a (noixemul) .a library. How can I use that that in PortablE? Manfred
Posted on: 2016/2/23 20:20
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.





