J. F. Lemaire wrote:
I tried a test "hello world" program and here is what I get: root@easymint:/f>/usr/local/bin/gcc hello.c -o hello
...: undefined reference to `___main' ...: undefined reference to `___umodsi3' These symbols are defined in libgcc.a.I guess this problem can appear when GCC is installed in a directory (/usr/local in your case) different than the "prefix" provided at compile time.
Try the following commands to get some clues: $ gcc -print-file-name=libgcc.a $ gcc -print-search-dirs $ gcc hello.c -o hello -Wl,-t Good luck. -- Vincent Rivière