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

Compiling Ocaml 3.09 in QNX #3883

Closed
vicuna opened this issue Nov 21, 2005 · 1 comment
Closed

Compiling Ocaml 3.09 in QNX #3883

vicuna opened this issue Nov 21, 2005 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 21, 2005

Original bug ID: 3883
Reporter: maki75
Status: closed (set by @damiendoligez on 2005-11-22T12:05:58Z)
Resolution: won't fix
Priority: normal
Severity: major
Version: 3.09.0
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hello,
This error when compile Ocaml 3.09 in QNX 6.3.0. I probe 3.08 and 3.07(+patch) with same result.

ln -s ../byterun/custom.c custom.c
gcc -I../byterun -DNATIVE_CODE -DTARGET_none -DSYS_unknown -O -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o custom.o custom.c
ln -s ../byterun/unix.c unix.c
gcc -I../byterun -DNATIVE_CODE -DTARGET_none -DSYS_unknown -O -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o unix.o unix.c
make[1]: *** No rule to make target none.o', needed by libasmrun.a'. Stop.
make[1]: Leaving directory `/usr/local/ocaml-3.09/asmrun'
make: *** [runtimeopt] Error 2

@vicuna
Copy link
Author

vicuna commented Nov 22, 2005

Comment author: @damiendoligez

The -DTARGET_none shows that the auto-configuration script could not find an ocamlopt
port for your architecture. In that case, it's no surprise that the "make opt" command fails.

Solution: don't do "make opt" nor "make opt.opt", and live with the bytecode version
until we have a native-code port for your architecture (which may well be never...)

-- Damien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant