Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

gprmode --mode=usage does not install static libraries #117

Open
asarhaddon opened this issue Aug 24, 2022 · 0 comments
Open

gprmode --mode=usage does not install static libraries #117

asarhaddon opened this issue Aug 24, 2022 · 0 comments

Comments

@asarhaddon
Copy link
Contributor

Hello.
The following shell script reproduces the issue.
The last line answers only one line: Install project Foo, but installs no file.
Setting the verbose option does not help.
The executable I have tested this with is built from the commit made on 20220801 in this repository, on a Debian x86 with gcc-12.
There remains a few patches, apparently unrelated.
Is this reproducible?
Thanks.

cat > foo.ads <<EOF                                                            
procedure Foo;                                                                 
EOF                                                                            

cat > foo.adb <<EOF                                                            
with Ada.Text_IO;                                                              
procedure Foo is                                                               
begin                                                                          
   Ada.Text_IO.Put ("hello");                                                  
end Foo;                                                                       
EOF                                                                            

cat > foo.gpr <<EOF                                                            
project Foo is                                                                 
   for Library_Name use "foo";                                                 
   for Library_Dir  use "lib";                                                 
   for Object_Dir   use "obj";                                                 
end Foo;
EOF
gprbuild -Pfoo.gpr
gprinstall -Pfoo.gpr -p --mode=usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant