Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CFE_TBL_LoadFromFile() should automagically add extension #611

Open
CDKnightNASA opened this issue Apr 14, 2020 · 2 comments
Open

CFE_TBL_LoadFromFile() should automagically add extension #611

CDKnightNASA opened this issue Apr 14, 2020 · 2 comments
Assignees
Labels

Comments

@CDKnightNASA
Copy link
Contributor

One issue that is quite an annoyance with the text-based startup file is that it lists the fully-qualified file name, including extension. The issue is that the extension varies from system to system, so when I build with e.g. SIMULATION=native the extensions need to be .so, but when building for RTEMS it needs to be .obj.

Ideally I'd like to see a solution that only lists the basename of the app file in the user-maintained source file, and the extra info, in particular the extension, is attached by the build system based on the file type of loadable modules for the particular platform you are building.

However the first step to any of this would be to get this table-based change in place, then smarter translation on the build side could be a follow-on.

Originally posted by @jphickey in #588 (comment)

@CDKnightNASA
Copy link
Contributor Author

Note also Joe reported that CMake provides the ${CMAKE_SHARED_LIBRARY_SUFFIX} variable.

@CDKnightNASA CDKnightNASA self-assigned this Apr 20, 2020
@CDKnightNASA CDKnightNASA added the cFE-TBL Table services label Apr 20, 2020
@CDKnightNASA
Copy link
Contributor Author

should wait for #503 to be merged into master.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant