To-do list?

391 views
Skip to first unread message

Michael

unread,
Jan 2, 2013, 1:34:02 AM1/2/13
to darling...@googlegroups.com
What use might you have for a C/x86 assembly programmer accustomed to low-level work?

Luboš Doležel

unread,
Jan 2, 2013, 3:40:27 AM1/2/13
to darling...@googlegroups.com
Too much stuff :-)

You could work on:

* AGL and related basic Carbon APIs
* IOKit support (working with libudev, libusb...)
* Work on Core Audio design/implementation (nothing done yet)
* Implement Apple Events C APIs (nothing done yet)
* Make Apple's open source Security framework compile with CMake (comprises Keychain and many other APIs)
* help iron out our issues: https://github.com/LubosD/darling/issues

A good idea is to find a nice (prefferably simple) application that you'd find nice to make working under Darling and start hacking.

Luboš

Dne středa, 2. ledna 2013 7:34:02 UTC+1 Michael napsal(a):
Message has been deleted

Ajay Kristipati

unread,
May 24, 2013, 4:32:21 PM5/24/13
to darling...@googlegroups.com
anyone know if we could get this to work with cygwin?
Message has been deleted

Email

unread,
May 25, 2013, 1:35:54 AM5/25/13
to Francisco Felipe Franco Ramon, darling...@googlegroups.com
You don't have permissions, nothing more complex than that. 

If it doesn't pose a security risk, run the script as root. 

A better way to troubleshoot would be to ensure that you, and gcc, have rwx permissions on the working directory

On May 24, 2013, at 4:38 PM, Francisco Felipe Franco Ramon <fli...@gmail.com> wrote:

As I promised I am trying again to compile the code, following the instructions on http://darling.dolezel.info/en/Build/Ubuntu#GNUstep_.26_friends for ubuntu 13.04 (mine is a 64 bits) I have the first stop on GNU Step Make, when I run 

$ sh configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/media/flipefr/Data/SME/Google Drive/software/Darling/gnustep-make':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

In config.log I find:
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configure:2479: $? = 0
configure:2486: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2490: $? = 4
configure:2513: checking for C compiler default output file name
configure:2535: gcc    conftest.c  >&5
configure:2539: $? = 0
configure:2577: result: a.out
configure:2596: checking whether the C compiler works
configure:2606: ./a.out
configure: line 2608: ./a.out: Permission denied
configure:2610: $? = 126
configure:2617: (I supress this line to keep the confidence)
configure:2621: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

Obiously the file a.out doesn't exist and if I try:
$gcc -V
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.

until I finish all this steps I can't go forward because cmake will complain about variables 

You have called ADD_LIBRARY for library AppKit without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library Carbon without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBGNUSTEPBASE_INCLUDE_DIR
LIBGNUSTEPCOREBASE_INCLUDE_DIR
LIBOBJC2_INCLUDE_DIR
LIBOPAL_INCLUDE_DIR

It look like is only a problem checking the version of gcc, gcc -V doesn't work , but 

$gcc -v
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
[...other variables....]
Thread: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

Maybe is somewhere in the code where I can change -V for -v or crete some kind or alias.

In any case, thanks for the help


El viernes, 24 de mayo de 2013 12:05:23 UTC+1, Francisco Felipe Franco Ramon escribió:
It's been a while since last time I checked this project, did you do any progress with CMake, I had lots and lots of problems trying to compile the code from the wiki in ubuntu and would like to know if there was any update just to try to check how it works now.

Many thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Darling" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/darling-project/JYKSWJFdlaY/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to darling-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Francisco Felipe Franco Ramon

unread,
May 25, 2013, 10:02:19 PM5/25/13
to darling...@googlegroups.com, Francisco Felipe Franco Ramon
Are you sure is all about permissions?

If I list the folder gnustep-make
$ls -l
total 1651
-rwxrwxrwx 1 root root   1752 May 25 00:10 aggregate.make
-rwxrwxrwx 1 root root   1009 May 25 00:10 ANNOUNCE
-rwxrwxrwx 1 root root   1027 May 25 00:10 application.make
-rwxrwxrwx 1 root root     47 May 25 00:10 app-wrapper.template
-rwxrwxrwx 1 root root    913 May 25 00:10 bundle.make
-rwxrwxrwx 1 root root 255377 May 25 00:10 ChangeLog
-rwxrwxrwx 1 root root 258580 May 25 00:10 ChangeLog.1
-rwxrwxrwx 1 root root   1039 May 25 00:10 clean_cpu.sh
-rwxrwxrwx 1 root root   1460 May 25 00:10 clean_os.sh
-rwxrwxrwx 1 root root    780 May 25 00:10 clean_vendor.sh
-rwxrwxrwx 1 root root    924 May 25 00:10 clibrary.make
-rwxrwxrwx 1 root root  33199 May 25 00:10 common.make
-rwxrwxrwx 1 root root  44914 May 25 00:10 config.guess
drwxrwxrwx 1 root root      0 May 25 00:10 config-install-p-test
-rwxrwxrwx 1 root root   7684 May 26 02:54 config.log
-rwxrwxrwx 1 root root   7221 May 25 00:10 config.make.in
-rwxrwxrwx 1 root root   6396 May 25 00:10 config-noarch.make.in
drwxrwxrwx 1 root root      0 May 25 00:10 config-precomp-test
-rwxrwxrwx 1 root root   3505 May 25 00:10 config.site
-rwxrwxrwx 1 root root  33634 May 25 00:10 config.sub
-rwxrwxrwx 1 root root    820 May 25 00:10 config_thread.m
-rwxrwxrwx 1 root root 257751 May 25 00:10 configure
-rwxrwxrwx 1 root root  72572 May 25 00:10 configure.ac
-rwxrwxrwx 1 root root  35148 May 25 00:10 COPYING
-rwxrwxrwx 1 root root    794 May 25 00:10 cpu.sh
-rwxrwxrwx 1 root root    921 May 25 00:10 ctool.make
-rwxrwxrwx 1 root root    985 May 25 00:10 debugapp
drwxrwxrwx 1 root root   4096 May 25 00:10 Documentation
-rwxrwxrwx 1 root root   1023 May 25 00:10 documentation.make
-rwxrwxrwx 1 root root    161 May 25 00:10 empty.make
-rwxrwxrwx 1 root root   7182 May 25 00:10 executable.template.in
-rwxrwxrwx 1 root root  23062 May 25 00:10 FAQ
-rwxrwxrwx 1 root root  14803 May 25 00:10 filesystem.csh.in
drwxrwxrwx 1 root root   4096 May 25 00:10 FilesystemLayouts
-rwxrwxrwx 1 root root  14359 May 25 00:10 filesystem.make.in
-rwxrwxrwx 1 root root  14445 May 25 00:10 filesystem.sh.in
-rwxrwxrwx 1 root root   2142 May 25 00:10 fixpath.sh.in
-rwxrwxrwx 1 root root    928 May 25 00:10 framework.make
-rwxrwxrwx 1 root root  16520 May 25 00:10 GNUmakefile.in
-rwxrwxrwx 1 root root    856 May 25 00:10 GNUmakefile.postamble
-rwxrwxrwx 1 root root   1143 May 25 00:10 GNUmakefile.preamble
-rwxrwxrwx 1 root root   6972 May 25 00:10 gnustep-config.in
-rwxrwxrwx 1 root root   6707 May 25 00:10 GNUstep.conf.in
-rwxrwxrwx 1 root root  14087 May 25 00:10 GNUstep.csh.in
-rwxrwxrwx 1 root root  38099 May 25 00:10 GNUstep-HOWTO
-rwxrwxrwx 1 root root   3037 May 25 00:10 gnustep-make-help
-rwxrwxrwx 1 root root   2804 May 25 00:10 gnustep-make.spec.in
-rwxrwxrwx 1 root root   5910 May 25 00:10 GNUstep-reset.sh
-rwxrwxrwx 1 root root  22705 May 25 00:10 GNUstep.sh.in
-rwxrwxrwx 1 root root   6631 May 25 00:10 GNUstep-strict-v2.conf.in
-rwxrwxrwx 1 root root    922 May 25 00:10 gswapp.make
-rwxrwxrwx 1 root root    923 May 25 00:10 gswbundle.make
-rwxrwxrwx 1 root root  12694 May 25 00:10 INSTALL
-rwxrwxrwx 1 root root   2811 May 25 00:10 installation-domains.conf
-rwxrwxrwx 1 root root   2186 May 25 00:10 install-sh
drwxrwxrwx 1 root root   4096 May 25 00:10 Instance
-rwxrwxrwx 1 root root   1498 May 25 00:10 java-executable.template
-rwxrwxrwx 1 root root    910 May 25 00:10 java.make
-rwxrwxrwx 1 root root    926 May 25 00:10 java-tool.make
-rwxrwxrwx 1 root root   1715 May 25 00:10 jni.make
-rwxrwxrwx 1 root root   6187 May 25 00:10 library-combo.make
-rwxrwxrwx 1 root root    919 May 25 00:10 library.make
drwxrwxrwx 1 root root   4096 May 25 00:10 Master
-rwxrwxrwx 1 root root   8749 May 25 00:10 messages.make
-rwxrwxrwx 1 root root    928 May 25 00:10 mkinstalldirs
-rwxrwxrwx 1 root root   2481 May 25 00:10 names.make
-rwxrwxrwx 1 root root   1596 May 25 00:10 native-library.make
-rwxrwxrwx 1 root root  18777 May 25 00:10 NEWS
-rwxrwxrwx 1 root root   3990 May 25 00:10 nsi-app.template
-rwxrwxrwx 1 root root   3758 May 25 00:10 nsi-lib.template
-rwxrwxrwx 1 root root   1460 May 25 00:10 objc.make
-rwxrwxrwx 1 root root  10943 May 25 00:10 openapp.in
-rwxrwxrwx 1 root root   5823 May 25 00:10 opentool.in
-rwxrwxrwx 1 root root    792 May 25 00:10 os.sh
-rwxrwxrwx 1 root root    918 May 25 00:10 palette.make
-rwxrwxrwx 1 root root   1244 May 25 00:10 parallel-subdirectories.make
-rwxrwxrwx 1 root root   3438 May 25 00:10 print_unique_pathlist.sh
-rwxrwxrwx 1 root root   2406 May 25 00:10 README
-rwxrwxrwx 1 root root  15349 May 25 00:10 README.Packaging
-rwxrwxrwx 1 root root   6970 May 25 00:10 relative_path.sh
-rwxrwxrwx 1 root root  30728 May 25 00:10 RELEASENOTES
-rwxrwxrwx 1 root root    932 May 25 00:10 resource-set.make
-rwxrwxrwx 1 root root  29648 May 25 00:10 rules.make
-rwxrwxrwx 1 root root   1173 May 25 00:10 serial-subdirectories.make
-rwxrwxrwx 1 root root    912 May 25 00:10 service.make
-rwxrwxrwx 1 root root    610 May 25 00:10 spec-rules.template
-rwxrwxrwx 1 root root   1630 May 25 00:10 strip_makefiles.sh
-rwxrwxrwx 1 root root    990 May 25 00:10 subproject.make
-rwxrwxrwx 1 root root     10 May 25 00:10 tar-exclude-list
-rwxrwxrwx 1 root root  41157 May 25 00:10 target.make
-rwxrwxrwx 1 root root    955 May 25 00:10 test-application.make
drwxrwxrwx 1 root root   4096 May 25 00:10 TestFramework
-rwxrwxrwx 1 root root    947 May 25 00:10 test-library.make
-rwxrwxrwx 1 root root    928 May 25 00:10 test-tool.make
-rwxrwxrwx 1 root root    916 May 25 00:10 tool.make
-rwxrwxrwx 1 root root    800 May 25 00:10 vendor.sh
-rwxrwxrwx 1 root root    387 May 25 00:10 Version

and keeping in mind and in root mode I try:
$CC=clang CXX=clang++
$echo $CC
clang
$echo $CXX
clang++
$sudo sh configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/media/flipefr/Data/SME/Google Drive/software/Darling/gnustep-make':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

The log is same as I pasted before (programs clang and clang++ works properly)

Thanks
Message has been deleted

Francisco Felipe Franco Ramon

unread,
May 25, 2013, 11:30:34 PM5/25/13
to darling...@googlegroups.com
Looks like nothing, I am leaving this thread, thank you

Luboš Doležel

unread,
May 26, 2013, 5:12:51 AM5/26/13
to darling...@googlegroups.com, Francisco Felipe Franco Ramon
There must be something very seriously wrong with your system!
What filesystem are you trying this on?

Lubos

Dne neděle, 26. května 2013 4:02:19 UTC+2 flipefr napsal(a):

flipefr

unread,
May 26, 2013, 8:58:00 AM5/26/13
to darling...@googlegroups.com, Francisco Felipe Franco Ramon
I solved it, ( architecture wasn't aliased ) the problem was I was trying to build it on a ntfs filesystem in aext4 enviroment. I moved the code to the right partition. Thanks.

Adam Ł.

unread,
Oct 9, 2018, 3:49:11 PM10/9/18
to Darling
Hej - a lot of code is on GNU page. Especialy system call - i describe the - how to can be make work app with graphic user interface or cli and way of develope this calls. Look on IRC channel.

Second don't go to low-level work - this code exist- the functionally of it on GNU and other opne source base of code like on M.I.T or bsd is on hight level code. The main work it's rename a name of for example class, system calls, to creat object that coverage calls and system calls name. We must remember that shared library have table of symbol - app require system call ( system kernel level) or library calls to symbols with in.

Python has ability to load by ctypes table of sysmbols from shared library lik in windows *.dll or on Linux *.so f
iles.

 

Reply all
Reply to author
Forward
0 new messages