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

win32 build breaks on camlp4/etc/Makefile #2904

Closed
vicuna opened this issue Jul 5, 2004 · 2 comments
Closed

win32 build breaks on camlp4/etc/Makefile #2904

vicuna opened this issue Jul 5, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 5, 2004

Original bug ID: 2904
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

camlp4/etc/Makefile changes I made to build under win32:

change .a to .$(A) and .o to .$(O)
$ diff ../ocaml308/ocaml/camlp4/etc/Makefile camlp4/etc/Makefile
35c35
< mv pr_rp.a pr_rp.o

  mv pr_rp.$(A) pr_rp.$(O)

40c40
< mv pr_op.a pr_op.o

  mv pr_rp.$(A) pr_rp.$(O)

45c45
< mv pr_schemep.a pr_schemep.o

  mv pr_schemep.$(A) pr_schemep.$(O)

(You can ignore me; I solved my problem...)

By the way, adding LIB to my environment variables in Cygwin bash didn't seem to help find tk84.lib and tcl84.lib. It seems that link looks at a cmd.exe parent's environment variables instead of inheriting from bash.exe? But I just tried it again and it worked fine, after changing LIB in Control Panel / System / Environment and restarting my shell.

--

first approach (some history):

1698 export LIB=$LIB:c:/tcl
1701 export LIB=$LIB:c:/tcl/lib
1707 export LIB=$LIB:"c:\tcl\lib"
1709 export LIB=$LIB:"c:\tcl\lib\"

.all failed so I did this in desperation:
1736 for d in otherlibs/labltk/[a-z]*/ ; do cp c:/tcl/lib/*84.lib $d; done

But now it works fine, after changing LIB in system vars and:

rm otherlibs/labltk//t84.lib
cd otherlibs/labltk
make -f Makefile.nt clean
cd ../..
make -f Makefile.nt world


<STYLE></STYLE>
camlp4/etc/Makefile changes I made to build under win32:
 
change .a to .$(A) and .o to .$(O)

$ diff ./ocaml308/ocaml/camlp4/etc/Makefile camlp4/etc/Makefile
35c35
<       mv pr_rp.a pr_rp.o
---
>       mv pr_rp.$(A) pr_rp.$(O)
40c40
<       mv pr_op.a pr_op.o
---
>       mv pr_rp.$(A) pr_rp.$(O)
45c45
<       mv pr_schemep.a pr_schemep.o
---
>       mv pr_schemep.$(A) pr_schemep.$(O)

 
------------------
 
(You can ignore me; I solved my problem...)
 
By the way, adding LIB to my environment variables in Cygwin bash didn't seem to help find tk84.lib and tcl84.lib. It seems that link looks at a cmd.exe parent's environment variables instead of inheriting from bash.exe? But I just tried it again and it worked fine, after changing LIB in Control Panel / System / Environment and restarting my shell.
 
--
 
first approach (some history):
 
1698  export LIB=$LIB:c:/tcl
1701  export LIB=$LIB:c:/tcl/lib
1707  export LIB=$LIB:"c:\tcl\lib"
1709  export LIB=$LIB:"c:\tcl\lib\\"
 
..all failed so I did this in desperation:
1736  for d in otherlibs/labltk/[a-z]*/ ; do cp c:/tcl/lib/*84.lib $d; done
 
But now it works fine, after changing LIB in system vars and:
 
rm otherlibs/labltk/*/t*84.lib
cd otherlibs/labltk
make -f Makefile.nt clean
cd ./.. 
make -f Makefile.nt world
 


@vicuna
Copy link
Author

vicuna commented Jul 8, 2004

Comment author: administrator

camlp4/etc/Makefile changes I made to build under win32:

change .a to .$(A) and .o to .$(O)=20

Fixed. Thanks.

-- Michel

@vicuna
Copy link
Author

vicuna commented Jul 8, 2004

Comment author: administrator

Fixed. MM, 2004-07-07.

@vicuna vicuna closed this as completed Jul 8, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant